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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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