Fixed compiler error and comment error.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user