2 types derived from MsQuicSafeHandle
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicSafeHandle.cs (2)
85
internal sealed class MsQuicContextSafeHandle :
MsQuicSafeHandle
148
internal sealed class MsQuicConfigurationSafeHandle :
MsQuicSafeHandle
, ISafeHandleCachable
1 instantiation of MsQuicSafeHandle
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicApi.cs (1)
50
Registration = new
MsQuicSafeHandle
(handle, apiTable->RegistrationClose, SafeHandleType.Registration);
36 references to MsQuicSafeHandle
System.Net.Quic (36)
System\Net\Quic\Internal\MsQuicApi.cs (2)
26
public
MsQuicSafeHandle
Registration { get; }
33
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(
MsQuicSafeHandle
))]
System\Net\Quic\Internal\MsQuicApi.NativeMethods.cs (26)
10
public void SetContext(
MsQuicSafeHandle
handle, void* context)
27
public void* GetContext(
MsQuicSafeHandle
handle)
44
public void SetCallbackHandler(
MsQuicSafeHandle
handle, void* callback, void* context)
61
public int SetParam(
MsQuicSafeHandle
handle, uint param, uint bufferLength, void* buffer)
78
public int GetParam(
MsQuicSafeHandle
handle, uint param, uint* bufferLength, void* buffer)
95
public void RegistrationShutdown(
MsQuicSafeHandle
registration, QUIC_CONNECTION_SHUTDOWN_FLAGS flags, ulong code)
112
public int ConfigurationOpen(
MsQuicSafeHandle
registration, QUIC_BUFFER* alpnBuffers, uint alpnBuffersCount, QUIC_SETTINGS* settings, uint settingsSize, void* context, QUIC_HANDLE** configuration)
129
public int ConfigurationLoadCredential(
MsQuicSafeHandle
configuration, QUIC_CREDENTIAL_CONFIG* config)
146
public int ListenerOpen(
MsQuicSafeHandle
registration, delegate* unmanaged[Cdecl]<QUIC_HANDLE*, void*, QUIC_LISTENER_EVENT*, int> callback, void* context, QUIC_HANDLE** listener)
163
public int ListenerStart(
MsQuicSafeHandle
listener, QUIC_BUFFER* alpnBuffers, uint alpnBuffersCount, QuicAddr* localAddress)
180
public void ListenerStop(
MsQuicSafeHandle
listener)
197
public int ConnectionOpen(
MsQuicSafeHandle
registration, delegate* unmanaged[Cdecl]<QUIC_HANDLE*, void*, QUIC_CONNECTION_EVENT*, int> callback, void* context, QUIC_HANDLE** connection)
214
public void ConnectionShutdown(
MsQuicSafeHandle
connection, QUIC_CONNECTION_SHUTDOWN_FLAGS flags, ulong code)
231
public int ConnectionStart(
MsQuicSafeHandle
connection,
MsQuicSafeHandle
configuration, ushort family, sbyte* serverName, ushort serverPort)
254
public int ConnectionSetConfiguration(
MsQuicSafeHandle
connection,
MsQuicSafeHandle
configuration)
277
public int StreamOpen(
MsQuicSafeHandle
connection, QUIC_STREAM_OPEN_FLAGS flags, delegate* unmanaged[Cdecl]<QUIC_HANDLE*, void*, QUIC_STREAM_EVENT*, int> callback, void* context, QUIC_HANDLE** stream)
294
public int StreamStart(
MsQuicSafeHandle
stream, QUIC_STREAM_START_FLAGS flags)
311
public int StreamShutdown(
MsQuicSafeHandle
stream, QUIC_STREAM_SHUTDOWN_FLAGS flags, ulong code)
328
public int StreamSend(
MsQuicSafeHandle
stream, QUIC_BUFFER* buffers, uint buffersCount, QUIC_SEND_FLAGS flags, void* context)
345
public void StreamReceiveComplete(
MsQuicSafeHandle
stream, ulong length)
362
public int StreamReceiveSetEnabled(
MsQuicSafeHandle
stream, byte enabled)
379
public int DatagramSend(
MsQuicSafeHandle
connection, QUIC_BUFFER* buffers, uint buffersCount, QUIC_SEND_FLAGS flags, void* context)
396
public int ConnectionResumptionTicketValidationComplete(
MsQuicSafeHandle
connection, byte result)
413
public int ConnectionCertificateValidationComplete(
MsQuicSafeHandle
connection, byte result, QUIC_TLS_ALERT_CODES alert)
System\Net\Quic\Internal\MsQuicHelpers.cs (4)
57
internal static unsafe T GetMsQuicParameter<T>(
MsQuicSafeHandle
handle, uint parameter)
64
internal static unsafe void GetMsQuicParameter(
MsQuicSafeHandle
handle, uint parameter, uint length, byte* value)
78
internal static unsafe void SetMsQuicParameter<T>(
MsQuicSafeHandle
handle, uint parameter, T value)
83
internal static unsafe void SetMsQuicParameter(
MsQuicSafeHandle
handle, uint parameter, uint length, byte* value)
System\Net\Quic\Internal\MsQuicSafeHandle.cs (2)
96
private readonly
MsQuicSafeHandle
? _parent;
112
public unsafe MsQuicContextSafeHandle(QUIC_HANDLE* handle, GCHandle context, SafeHandleType safeHandleType,
MsQuicSafeHandle
? parent = null)
System\Net\Quic\NetEventSource.Quic.cs (1)
14
if (value is
MsQuicSafeHandle
safeHandle)
System\Net\Quic\QuicConnection.cs (1)
163
private
MsQuicSafeHandle
? _configuration;