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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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