コンテンツにスキップ

AppKey 構造体

A validated SteamVR application key. Restricted to ASCII lowercase letters, digits, dots, and underscores, and must not exceed 127 characters — OpenVR’s k_unMaxApplicationKeyLength is 128, including the null terminator.

名前空間: FloatSoda.OVR
アセンブリ: FloatSoda.OVR.dll

public readonly record struct AppKey : IEquatable<AppKey>

IEquatable<AppKey>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

A validated SteamVR application key. Restricted to ASCII lowercase letters, digits, dots, and underscores, and must not exceed 127 characters — OpenVR’s k_unMaxApplicationKeyLength is 128, including the null terminator.

public AppKey(string Value)

Value string

Gets the validated application key.

public string Value { get; init; }

string

ArgumentOutOfRangeException

The value contains more than 127 characters.

FormatException

The value is empty or contains an unsupported character.

Returns the application key.

public override string ToString()

string

Returns the string value of a validated application key.

public static implicit operator string(AppKey key)

key AppKey

The application key to convert.

string