Added support for querying the context's user name and authority. Still working my way up to EncryptMessage.

This commit is contained in:
antiduh
2014-06-23 18:30:26 +00:00
parent 1be2b9c7ef
commit 9785183f31
6 changed files with 215 additions and 2 deletions

View File

@@ -91,7 +91,16 @@ namespace NSspi
if ( serverStatus != SecurityStatus.ContinueNeeded && clientStatus != SecurityStatus.ContinueNeeded ) { break; }
}
Console.Out.WriteLine( "Server authority: " + server.AuthorityName );
Console.Out.WriteLine( "Server context user: " + server.ContextUserName );
Console.Out.WriteLine();
Console.Out.WriteLine( "Client authority: " + client.AuthorityName );
Console.Out.WriteLine( "Client context user: " + client.ContextUserName );
Console.Out.Flush();
}
finally