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