Table of Contents

Method SetInputName

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetInputName(InputRef, string, CancellationToken)

Sets the name of an input (rename).

public Task SetInputName(InputRef input, string newInputName, CancellationToken cancellationToken = default)

Parameters

input InputRef

The input, by name or by UUID.

newInputName string

New name for the input.

cancellationToken CancellationToken

A token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.

Returns

Task