ProtocolType Property

Socket.ProtocolType Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the protocol type of the Socket.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

public ProtocolType ProtocolType { get; }

Property Value

Type: System.Net.Sockets.ProtocolType
One of the ProtocolType values.

The ProtocolType property is set when the Socket is created, and specifies the protocol used by that Socket.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft