default
Operating System information.
Methods
getBuildInfo()
getBuildInfo():
default
Returns the instance of IBuildInfo for querying operating system build information.
Returns
getCodeName()
getCodeName():
Promise<string>
Returns the static codename of the operating system.
For example, "Kepler".
Returns
Promise<string>
getDisplayName()
getDisplayName():
Promise<string>
Returns the human-readable, localized name of the operating system.
The returned name is localized according to the following precedence:
- User's locale preferences
- System default locale
- Static codename as fallback if localization is unavailable
For example,
"Kepler" (en-US)
"केपलर" (hi-IN)
Returns
Promise<string>
getVersion()
getVersion():
Promise<string>
Returns the version identifier of the operating system.
For example, "1.1".
The version string DOES NOT follow a fixed schema and must be considered unique string for each OS release.
Returns
Promise<string>
Last updated: Jan 05, 2026

