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)); }
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); } }
public unsafe static SecurityStatus SafeQueryContextAttributes(ref SafeCtxtHandle context, out SecPkgContext_StreamSizes streamSizes) { return(Sspi.SafeQueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, (void *)(&streamSizes))); }