RasNbfInfo Class

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Contains the result of a NetBEUI Framer (NBF) 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 RasNbfInfo
Visual Basic
<SerializableAttribute>
Public NotInheritable Class RasNbfInfo
Visual C++
[SerializableAttribute]
public ref class RasNbfInfo sealed
F#
[<SealedAttribute>]
[<SerializableAttribute>]
type RasNbfInfo =  class end

Remarks

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

Examples

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

Inheritance Hierarchy

System..::..Object
  DotRas..::..RasNbfInfo

See Also