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.