Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "NetBIOS" in [All]

netapi32

.

     public string NetbiosDomainName;

.

     public string NetbiosDomainName;

.

    /// <summary>The NetBIOS domain name.</summary>

.

    /// <summary>Gets the NetBIOS domain name.</summary>

.

    /// <value>The NetBIOS domain name.</value>

.

    ''' <param name="servername">Pointer to a constant string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute.

.

lpServer - (in) Pointer to a constant string that specifies the DNS or NetBIOS name of the computer on which to call the function. If this parameter is NULL, the local computer is used. Windows NT: This string must begin with \\.

.

    ''' <param name="serverName">[in] Pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used. </param>

.

    ''' <param name="serverName">[in] Pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.</param>

.
  • servername: String that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.
.

lpServer - (in) Pointer to a constant string that specifies the DNS or NetBIOS name of the computer on which the function is to execute. If this parameter is NULL, the local computer is used.

.

lpAccount - (in) Pointer to a constant string that specifies the account name to use when connecting to the domain controller. The string must specify either a domain NetBIOS name and user account (for example, "REDMOND\user") or the user principal name (UPN) of the user in the form of an Internet-style login name (for example, "someone@example.com"). If this parameter is NULL, the caller's context is used.

.

Function Test-NetBIOSName{

.

Test-NetBIOSName “myserver” 1

kernel32

.
Summary
Retrieves a NetBIOS or DNS name associated with the local computer.
.

        ComputerNameNetBIOS,

.

        ComputerNamePhysicalNetBIOS,

.
Summary
Retrieves a NetBIOS or DNS name associated with the local computer.
.

        ComputerNameNetBIOS,

.

        ComputerNamePhysicalNetBIOS,

.
Summary
The Netbios function interprets and executes the specified network control block (NCB). The Netbios function is provided primarily for applications that were written for the NetBIOS interface and need to be ported to Windows. Applications not requiring compatibility with NetBIOS should use other interfaces, such as mailslots, named pipes, RPC, or distributed COM to accomplish tasks similar to those supported by NetBIOS. These other interfaces are more flexible and portable.
.

static extern byte Netbios(ref _NCB controlBlock);

.

Private Declare Function Netbios Lib "netapi32.dll" ( _

.

   ' execute the NetBIOS command

.

   bRet = Netbios(myNcb)

.

   ' Next we do a "reset" on the NetBIOS interface

.

   ' execute the NetBIOS command

.

   bRet = Netbios(myNcb)

.

     Throw New ApplicationException("Can't Reset the NetBIOS interface, error code=" & bRet)

.

   ' execute the NetBIOS command

.

   bRet = Netbios(myNcb)

.

  ' NetBIOS Network Control Block structure--which is used to

.

  ' issue all commands to the NetBIOS protocol

.

    netnumNames = 17        '[Number of netbios names in adapter table]

.
Documentation
[NetBIOS] on MSDN
.
Summary
Sets a NetBIOS or DNS name for the local computer.
.

        ComputerNameNetBIOS,

.

        ComputerNamePhysicalNetBIOS,

.

    //ComputerNamePhysicalDnsHostname used to rename the computer name and netbios name before domain join

.
Summary
Sets a NetBIOS or DNS name for the local computer.
.

        ComputerNameNetBIOS,

.

        ComputerNamePhysicalNetBIOS,

.

    //ComputerNamePhysicalDnsHostname used to rename the computer name and netbios name before domain join

Enums

.

        /// NetBios-style addresses [value = 17].

.

        AF_NETBIOS = 17,

.

    ComputerNameNetBIOS,

.

    ComputerNamePhysicalNetBIOS,

.

        /// <summary>640. An error has occurred involving NetBIOS. </summary>

.

        ERROR_NETBIOS_ERROR,

.

        /// <summary>641. The server cannot allocate NetBIOS resources needed to support the client. </summary>

.

        /// <summary>642. One of your computer's NetBIOS names is already registered on the remote network. </summary>

ws2_32

.

    /// NetBios-style addresses [value = 17].

.

    AF_NETBIOS = 17,

.

        /// NetBios-style addresses [value = 17].

.

        AF_NETBIOS = 17,

Constants

.
Summary
.
Summary
Adapter Status command used in the NCB structure's ncb_command value by the NetBIOS API Call. Returns a ADAPTER_STATUS structure
.
Summary
NetBIOS command via the NCB structure's ncb_command to retrieve the number of Lan Adapters. Returns a LANA_ENUM structure
.
Summary
.
Summary
NetBIOS reset command via the NCB ncb_command
.

Used to prepare the LAN Adapter for subsequent NetBIOS calls

25: NERR_
.

        /// <summary> 2506 - NetBIOS returned an error: The NCB and SMB are dumped above. </summary>

.

        public const int RplLoadrNetBiosErr = 2506;

Structures

.
Summary
The ADAPTER_STATUS structure contains information about a network adapter via the (NetBIOS) API call. This structure is pointed to by the ncb_buffer member of the NCB structure. ADAPTER_STATUS is followed by as many NAME_BUFFER structures as required to describe the network adapters on the system
.

    public string NetBiosName;

.

   Dim NetBiosName As String

.

     [MarshalAs(UnmanagedType.LPTStr)] public string NetbiosName;        // server1

.
Summary
Used by the (NetBIOS) function to retrieve the list of LAN Adapters. The LANA_ENUM structure is pointed to by the ncb_buffer member of the NCB structure when an application issues the NCBENUM command.
.
Summary
The NAME_BUFFER structure contains information about a local network name via the (NetBIOS) API Call. One or more NAME_BUFFER structures follows an ADAPTER_STATUS structure when an application specifies the NCBASTAT command in the ncb_command member of the NCB structure.
31: NCB
.
Summary
.

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst=NetbiosConstants.NCBNAMSZ)]

.

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst=NetbiosConstants.NCBNAMSZ)]

ntdsapi

.

        public string NetbiosName;        // SDBAD10004

.

                Console.WriteLine(DCinfos[i].NetbiosName);

dhcpsapi

.

    Dim NetBiosName As String

.

    public string NetBiosName;

wtsapi32

.

        Public AddressFamily As Integer 'AF_INET, (AF_INET6), AF_IPX, AF_NETBIOS, AF_UNSPEC


 
Access PInvoke.net directly from VS: