/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public void Dispose() { if (HasExclusiveLightingControl) { CorsairLightingSDK.ReleaseControl(CorsairAccessMode.ExclusiveLightingControl); } }
/// <summary> /// Releases exclusive control over the provider /// </summary> public void ReleaseControl() { CorsairLightingSDK.ReleaseControl(CorsairAccessMode.ExclusiveLightingControl); }