







Contains the result of an IPv6 projection operation. This class cannot be inherited.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
---|
[SerializableAttribute] public sealed class RasIPv6Info |
Visual Basic |
---|
<SerializableAttribute> Public NotInheritable Class RasIPv6Info |
Visual C++ |
---|
[SerializableAttribute] public ref class RasIPv6Info sealed |
F# |
---|
[<SealedAttribute>] [<SerializableAttribute>] type RasIPv6Info = class end |
Remarks
This object is created from an IPv6 projection operation on a connection.
Known Limitations:
- This type is only available on Windows Vista and later operating systems.
Examples
This example shows how to perform an IPv6 projection operation on an active connection.
C# | ![]() |
---|---|
RasConnection connection = RasConnection.GetActiveConnectionByName("My Connection", @"C:\Test.pbk"); if (connection != null) { RasIPv6Info info = (RasIPv6Info)connection.GetProjectionInfo(RasProjectionType.IPv6); if (info != null) { // info now contains the IPv6 projection data. } } |
Visual Basic | ![]() |
---|---|
Dim connection As RasConnection = RasConnection.GetActiveConnectionByName("My Connection", "C:\Test.pbk") If connection IsNot Nothing Then Dim info As RasIPv6Info = CType(connection.GetProjectionInfo(RasProjectionType.IPv6), RasIPv6Info) If info IsNot Nothing Then ' info now contains the IPv6 projection data. End If End If |