Table of Contents

Constructor VersionResponse

Namespace
OBSStudioClient.Responses
Assembly
OBSClient.dll

VersionResponse(string, string, int, string[], string[], string, string)

Provides the response data of the GetVersion request.

[JsonConstructor]
public VersionResponse(string obsVersion, string obsWebSocketVersion, int rpcVersion, string[] availableRequests, string[] supportedImageFormats, string platform, string platformDescription)

Parameters

obsVersion string

Current OBS Studio version.

obsWebSocketVersion string

Current obs-websocket version.

rpcVersion int

Current latest obs-websocket RPC version.

availableRequests string[]

Array of available RPC requests for the currently negotiated RPC version.

supportedImageFormats string[]

Image formats available in GetSourceScreenshot and SaveSourceScreenshot requests.

platform string

Name of the platform. Usually windows, macos, or ubuntu (linux flavor). Not guaranteed to be any of those.

platformDescription string

Description of the platform, like Windows 10 (10.0).

Remarks

Initializes a new instance of the VersionResponse class.