Share via


OSInfo.OSInfo(OSVersion, String)

Initializes a new instance of the OSInfo class.

public OSInfo(OSVersionversion,
Stringlocale);
Public Sub New( _
  ByVal version As OSVersion, _
  ByVal locale As String _
)

Parameters

  • version
    Version of the operating system. For details, see OSVersion.
  • locale
    Locale of the operating system. For example, "en".

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.