示例#1
0
 public unsafe static SecurityStatus SafeQueryContextAttributes(
     ref SafeCtxtHandle context,
     out SecPkgContext_StreamSizes streamSizes)
 {
     fixed(void *buffer = &streamSizes)
     return(SafeQueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, buffer));
 }
示例#2
0
 public unsafe static void QueryContextAttributes(ref SafeCtxtHandle context, out SecPkgContext_StreamSizes streamSizes)
 {
     fixed(IntPtr *ptr = (IntPtr *)(&streamSizes))
     {
         Sspi.QueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, (void *)ptr);
     }
 }
示例#3
0
 public unsafe static SecurityStatus SafeQueryContextAttributes(ref SafeCtxtHandle context, out SecPkgContext_StreamSizes streamSizes)
 {
     return(Sspi.SafeQueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, (void *)(&streamSizes)));
 }