Click or drag to resize

Link Class

This class manages your connections to the server.
Inheritance Hierarchy
SystemObject
  VaserLink

Namespace:  Vaser
Assembly:  Vaser (in Vaser.dll) Version: 1.1.23.0 (1.1.23.0)
Syntax
C#
public class Link

The Link type exposes the following members.

Constructors
  NameDescription
Public methodLink
Do not create links of your own.
Top
Properties
  NameDescription
Public propertyAttachedID
Any to this link related ID can be safed here. This variable is threadsafe and is free to use.
Public propertyAttachedObject
Any to this link related object can be safed here. This variable is threadsafe and is free to use.
Public propertyIPv4Address
the remote endpoint IPAddress
Public propertyIsAuthenticated
Indicates if the link is authenticated.
Public propertyIsConnected
Indicates if the link is connected.
Public propertyIsEncrypted
Indicates if the link is encrypted.
Public propertyIsKerberos
Indicates if the link uses kerberos.
Public propertyIsMutuallyAuthenticated
Indicates if the link is full authenticated and trusted.
Public propertyIsServer
Indicates if the link is from a server.
Public propertyIsSigned
Indicates if the link is signed.
Public propertyUserName
Contains the UserName of Kerberos connections.
Public propertyvCDObject
Do not use. Used by vContentDelivery
Public propertyvServer
Contains the reference of the server. Is null on the client side.
Top
Methods
  NameDescription
Public methodAccept
Accept the new connected client. Incoming data will be now received.
Public methodDispose
Close the connection and free all resources.
Protected methodOnDisconnectingLink
Raises an event if the link is disconnected.
Protected methodOnEmptyBuffer
Raises an event if the Buffer of this link is empty. The 'OnEmptybuffer' parameter must set when a packet is send.
Top
Events
  NameDescription
Public eventDisconnecting
EventHandler for disconnecting
Public eventEmptyBuffer
EventHandler for empty buffer triggers an event from when the buffer is empty
Top
Fields
  NameDescription
Public fieldDisposed
Indicates if the Link was disposed.
Top
See Also