/// <summary> /// 释放钩子 /// </summary> private void FreeConfig() { if (_listener != null) { _listener.StopListen(); } if (_hotKey != null && _hotKey.IsRegistered) { _hotKey.UnRegister(); } }
public void StopListen() { _listener.StopListen(); }