ServiceControllerPermissionEntry.MachineName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the name of the computer on which the service resides.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public string MachineName { get; }

Property Value

Type: System.String

The name of the computer that is running the service associated with the ServiceController.

.NET Framework
Available since 1.1
Return to top
Show: