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 "SetComputerName" in [All]

kernel32

.

static extern bool SetComputerNameEx(COMPUTER_NAME_FORMAT NameType,

.

    static extern bool SetComputerNameEx(COMPUTER_NAME_FORMAT NameType,

.

        return SetComputerNameEx(COMPUTER_NAME_FORMAT.ComputerNamePhysicalDnsHostname, name);

.
Documentation
[SetComputerNameEx] on MSDN
.

static extern bool SetComputerNameEx(COMPUTER_NAME_FORMAT NameType,

.

    static extern bool SetComputerNameEx(COMPUTER_NAME_FORMAT NameType,

.

        return SetComputerNameEx(COMPUTER_NAME_FORMAT.ComputerNamePhysicalDnsHostname, name);

.
Documentation
[SetComputerNameEx] on MSDN

netapi32

.

lpNewMachineName - (in) Pointer to a constant string that specifies the new name of the computer. If specified, the local computer name is changed as well. If this parameter is NULL, the function assumes you have already called the SetComputerNameEx function.

Enums

.
Summary

 
Access PInvoke.net directly from VS: