예제 #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)));
 }