Retrieves information about a specified security package. This information includes the bounds on sizes of authentication information, credentials, and contexts.
[DllImport("secur32.dll", SetLastError=true)]
static extern long QuerySecurityPackageInfo(string pszPackageName, out SecPkgInfo ppPackageInfo);
[StructLayout(LayoutKind.Sequential)]
public struct SecPkgInfo
{
ulong fCapabilities;
ushort wVersion;
ushort wRPCID;
ulong cbMaxToken;
string Name;
string Comment;
}
Declare Function QuerySecurityPackageInfo Lib "secur32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
SecPkgInfo spi;
Secur32Wrapper.QuerySecurityPackageInfo("NTLM", out spi);