Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


Socket.SafeHandle Property

Definition

Gets a SafeSocketHandle that represents the socket handle that the current Socket object encapsulates.

C#
public System.Net.Sockets.SafeSocketHandle SafeHandle { get; }

Property Value

A socket handle exposed in a safe manner for the socket that the current Socket object encapsulates.

Remarks

Fontos

Using the SafeSocketHandle to operate on the socket directly may result in an undocumented state.

Applies to

Termék Verziók
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10