More visibility restriction.
This commit is contained in:
@@ -9,7 +9,7 @@ namespace NSspi.Contexts
|
||||
{
|
||||
|
||||
[StructLayout( LayoutKind.Sequential )]
|
||||
public struct SecPkgContext_Sizes
|
||||
internal struct SecPkgContext_Sizes
|
||||
{
|
||||
public int MaxToken;
|
||||
public int MaxSignature;
|
||||
@@ -18,27 +18,8 @@ namespace NSspi.Contexts
|
||||
}
|
||||
|
||||
[StructLayout( LayoutKind.Sequential )]
|
||||
public struct SecPkgContext_String
|
||||
internal struct SecPkgContext_String
|
||||
{
|
||||
public IntPtr StringResult;
|
||||
}
|
||||
|
||||
|
||||
public class ContextQueryHandle : SafeHandle
|
||||
{
|
||||
public ContextQueryHandle() :
|
||||
base( IntPtr.Zero, true )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsInvalid
|
||||
{
|
||||
get { return base.handle.Equals( IntPtr.Zero ); }
|
||||
}
|
||||
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return ContextNativeMethods.FreeContextBuffer( base.handle ) == SecurityStatus.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user