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.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
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