RasAmbInfo Class

DotRas SDK

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

Remarks

This object is created from an Amb projection operation on a connection.

Examples

This example shows how to perform an AMB projection operation on an active connection.
C# Copy imageCopy
RasConnection connection = RasConnection.GetActiveConnectionByName("My Connection", @"C:\Test.pbk");
if (connection != null)
{
    RasAmbInfo info = (RasAmbInfo)connection.GetProjectionInfo(RasProjectionType.Amb);
    if (info != null)
    {
        // info now contains the AMB 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 RasAmbInfo = CType(connection.GetProjectionInfo(RasProjectionType.Amb), RasAmbInfo)
    If info IsNot Nothing Then
        ' info now contains the AMB projection data.
    End If
End If

Inheritance Hierarchy

System..::..Object
  DotRas..::..RasAmbInfo

See Also