Back to product page

Tag property


Tag for misc usage.

Type

Object.

Syntax

  • C#
  • C++
  • VB.NET
void devVPN.SetTag(IntPtr Handle, object Value);
The Tag(Handle,value) syntax has these parts:
HandleReference to the devVPN instance.
valueObject that holds your data.

object devVPN.GetTag(IntPtr Handle);
The Tag(Handle) syntax has these parts:
HandleReference to the devVPN instance.
Return valueObject that holds your data.

void *Tag = value;
The Tag(value) syntax has these parts:
valuePointer to your own custom data.

Sub VPN_SetTag(ByVal Handle As IntPtr, ByVal Value As Object)
The Tag(Handle,value) syntax has these parts:
HandleReference to the devVPN instance.
valueObject that holds your data.

Function VPN_GetTag(ByVal Handle As IntPtr) As Object
The Tag(Handle) syntax has these parts:
HandleReference to the devVPN instance.
Return valueObject that holds your data.

Remarks

You can use this property to store pointer to your own custom data that will be kept by devVPN. devVPN will not interfere with this value in any way (it will not, for example, try to free that memory).

Platforms

Windows
Mac OSX
Linux
BSD
iPhone IOS