diff --git a/Credential.cs b/Credential.cs index d089b72..6d6a443 100644 --- a/Credential.cs +++ b/Credential.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.DirectoryServices.AccountManagement; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -16,6 +17,8 @@ namespace NSspi { this.disposed = false; + this.securityPackage = package; + Init(); } diff --git a/CredentialUse.cs b/CredentialUse.cs new file mode 100644 index 0000000..65623b1 --- /dev/null +++ b/CredentialUse.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace NSspi +{ + public enum CredentialUse : int + { + Inbound = 1, + Outbound = 2, + Both = 3, + } +} diff --git a/NSspi.csproj b/NSspi.csproj index 8a4d938..62b739e 100644 --- a/NSspi.csproj +++ b/NSspi.csproj @@ -32,6 +32,8 @@ + + @@ -39,8 +41,14 @@ - + + + + + + +