DatagramSocket
DatagramSocket()
Control
HasUnwrappableNativeObjectReference
Information
OutputStream
As<I>()
BindEndpointAsync(HostName, String)
BindServiceNameAsync(String)
BindServiceNameAsync(String, NetworkAdapter)
CancelIOAsync()
ConnectAsync(EndpointPair)
ConnectAsync(HostName, String)
Dispose()
EnableTransferOwnership(Guid)
EnableTransferOwnership(Guid, SocketActivityConnectedStandbyAction)
Equals(DatagramSocket)
Equals(Object)
FromAbi(nint)
GetEndpointPairsAsync(HostName, String)
GetEndpointPairsAsync(HostName, String, HostNameSortOptions)
GetHashCode()
GetOutputStreamAsync(EndpointPair)
GetOutputStreamAsync(HostName, String)
IsOverridableInterface(Guid)
JoinMulticastGroup(HostName)
TransferOwnership(String)
TransferOwnership(String, SocketActivityContext)
TransferOwnership(String, SocketActivityContext, TimeSpan)
operator !=(DatagramSocket, DatagramSocket)
operator ==(DatagramSocket, DatagramSocket)
MessageReceived
net11.0-windows10.0.22000
namespace Windows.Networking.Sockets
{
[ContractVersion(typeof(UniversalApiContract), 65536U)]
[ObjectReferenceWrapper("_inner")]
[ProjectedRuntimeClass("_default")]
[SupportedOSPlatform("Windows10.0.10240.0")]
[WindowsRuntimeType("Windows.Foundation.UniversalApiContract")]
public sealed class DatagramSocket : IDisposable, IEquatable<DatagramSocket>, ICustomQueryInterface, IDynamicInterfaceCastable, IWinRTObject
{
public static DatagramSocket FromAbi(IntPtr thisPtr);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 10.0.2034810.0.22000 |
Information specific to net11.0-windows10.0.22000 | |
| Assembly | Microsoft.Windows.SDK.NET , Version=10.0.22000.20, PublicKeyToken=31bf3856ad364e35 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API