Gemstone Common Library
Show/Hide TOC

# CommonGetOSProductName Method

Note: This API is now obsolete.
Gets the operating system product name.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.174 -- Release Build+aa37ec1cbeacbf32d632bf098b6401a4346e3db1
C#
View Source Request Example

    [ObsoleteAttribute("Use RuntimeInformation.OSDescription instead")]
    public static string GetOSProductName()

VB
View Source Request Example

    <ObsoleteAttribute("Use RuntimeInformation.OSDescription instead")>
    Public Shared Function GetOSProductName As String

C++
View Source Request Example

    public:
    [ObsoleteAttribute(L"Use RuntimeInformation.OSDescription instead")]
    static String^ GetOSProductName()

JavaScript
View Source Request Example

    Gemstone.Common.GetOSProductName = function();

#### Return Value

String
Operating system product name.

## See Also

#### Reference

Common Class
Gemstone Namespace