EndpointPermission Class
TOC
Collapse the table of content
Expand the table of content

EndpointPermission Class

 

Defines an endpoint that is authorized by a SocketPermission instance.

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

System.Object
  System.Net.EndpointPermission

[<SerializableAttribute>]
type EndpointPermission = class end

NameDescription
System_CAPS_pubpropertyHostname

Gets the DNS host name or IP address of the server that is associated with this endpoint.

System_CAPS_pubpropertyPort

Gets the network port number that is associated with this endpoint.

System_CAPS_pubpropertyTransport

Gets the transport type that is associated with this endpoint.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is equal to the current Object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current EndpointPermission instance.(Overrides Object.ToString().)

The EndpointPermission class defines a network endpoint, including host name, network port number, and transport type used to make the connection.

System_CAPS_noteNote

Avoid creating EndPoint permissions using host names because these names will have to be resolved to IP address, which could block the stack.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft