Skip to main content Skip to complementary content

Get the name of the operating system

Get the name of the operating system by using the OSName method.

Example

The client sends:

{ "jsonrpc": "2.0", "id": 2, "method": "OSName", "handle": -1, "params": [] }

The engine returns:

{ "jsonrpc": "2.0", "id": 2, "result": { "qReturn": "WindowsNT" } }

The name of the operation system is displayed.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!