Windows Dev Center

Socket.ProtocolType Property

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:
© 2015 Microsoft