Fixed compiler error and comment error.

This commit is contained in:
antiduh
2014-06-19 03:08:12 +00:00
parent f0f057d3bb
commit 737ebc19da
2 changed files with 2 additions and 3 deletions

View File

@@ -86,7 +86,6 @@ namespace NSspi
SetLastError = true SetLastError = true
)] )]
public static extern SecurityStatus FreeContextBuffer( IntPtr buffer ); public static extern SecurityStatus FreeContextBuffer( IntPtr buffer );
/* /*
@@ -99,7 +98,7 @@ namespace NSspi
/// <summary> /// <summary>
/// The overload of the QueryCredentialsAttribute method that is used for querying the name attribute. /// The overload of the QueryCredentialsAttribute method that is used for querying the name attribute.
/// In this call, it takes a void* to a structure that contains a wide char* pointer. /// In this call, it takes a void* to a structure that contains a wide char pointer.
/// </summary> /// </summary>
/// <param name="credentialHandle"></param> /// <param name="credentialHandle"></param>
/// <param name="attributeName"></param> /// <param name="attributeName"></param>

View File

@@ -15,7 +15,7 @@ namespace NSspi
{ {
cred = new Credential( SecurityPackage.Negotiate, CredentialType.Client ); cred = new Credential( SecurityPackage.Negotiate, CredentialType.Client );
string name = cred.GetName(); string name = cred.Name;
Console.Out.WriteLine( name ); Console.Out.WriteLine( name );
Console.Out.Flush(); Console.Out.Flush();
} }