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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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