Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Socket.GetSocketOption Method

Returns the value of a Socket option.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method GetSocketOption(SocketOptionLevel, SocketOptionName) Returns the value of a specified Socket option, represented as an object.
Public method GetSocketOption(SocketOptionLevel, SocketOptionName, Byte[]) Returns the specified Socket option setting, represented as a byte array.
Public method GetSocketOption(SocketOptionLevel, SocketOptionName, Int32) Returns the value of the specified Socket option in an array.

Community Additions

© 2018 Microsoft