RasCcpInfo Class

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Contains the results of a Compression Control Protocol (CCP) 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 RasCcpInfo
Visual Basic
<SerializableAttribute>
Public NotInheritable Class RasCcpInfo
Visual C++
[SerializableAttribute]
public ref class RasCcpInfo sealed
F#
[<SealedAttribute>]
[<SerializableAttribute>]
type RasCcpInfo =  class end

Remarks

This object is created from a Ccp projection operation on a connection.

Examples

This example shows how to perform an CCP projection operation on an active connection.
C# Copy imageCopy
RasConnection connection = RasConnection.GetActiveConnectionByName("My Connection", @"C:\Test.pbk");
if (connection != null)
{
    RasCcpInfo info = (RasCcpInfo)connection.GetProjectionInfo(RasProjectionType.Ccp);
    if (info != null)
    {
        // info now contains the CCP projection data.
    }
}
Visual Basic Copy imageCopy
Dim connection As RasConnection = RasConnection.GetActiveConnectionByName("My Connection", "C:\Test.pbk")
If connection IsNot Nothing Then
    Dim info As RasCcpInfo = CType(connection.GetProjectionInfo(RasProjectionType.Ccp), RasCcpInfo)
    If info IsNot Nothing Then
        ' info now contains the CCP projection data.
    End If
End If

Inheritance Hierarchy

System..::..Object
  DotRas..::..RasCcpInfo

See Also