Contains the result of a Link Control Protocol (LCP) multilink 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 RasLcpInfo
|
Visual Basic |
<SerializableAttribute>
Public NotInheritable Class RasLcpInfo
|
Visual C++ |
[SerializableAttribute]
public ref class RasLcpInfo sealed
|
F# |
[<SealedAttribute>]
[<SerializableAttribute>]
type RasLcpInfo = class end
|
Remarks
Examples
This example shows how to perform an LCP projection operation on an active connection.
C# | Copy |
---|
RasConnection connection = RasConnection.GetActiveConnectionByName("My Connection", @"C:\Test.pbk");
if (connection != null)
{
RasLcpInfo info = (RasLcpInfo)connection.GetProjectionInfo(RasProjectionType.Lcp);
if (info != null)
{
}
} |
Visual Basic | Copy |
---|
Dim connection As RasConnection = RasConnection.GetActiveConnectionByName("My Connection", "C:\Test.pbk")
If connection IsNot Nothing Then
Dim info As RasLcpInfo = CType(connection.GetProjectionInfo(RasProjectionType.Lcp), RasLcpInfo)
If info IsNot Nothing Then
End If
End If |
Inheritance Hierarchy
See Also