WmiConnectionInfo Class

Definition

The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).

public ref class WmiConnectionInfo sealed
public sealed class WmiConnectionInfo
type WmiConnectionInfo = class
Public NotInheritable Class WmiConnectionInfo
Inheritance
WmiConnectionInfo

Examples

Managing Services and Network Settings by Using WMI Provider

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Properties

MachineName

Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed.

ProviderArchitecture

Gets or sets the ProviderArchitecture value which represents the provider architecture of this instance.

Timeout

Gets or sets the period after which the Windows Management Instrumentation (WMI) connection times out in seconds.

Username

Gets the name of the account used to establish the connection.

Methods

SetPassword(String)

Sets the password for the account that is used to establish the connection.

Applies to