Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft