private static void mk_shell_login(string user_name, string passwd, IntPtr mk_auth_invoker, IntPtr mk_sock_info) { var result = string.Empty; if (OnShellLogin != null) { result = OnShellLogin.Invoke(new ShellLoginDto(user_name, passwd, new SockInfo(mk_sock_info))); } PInvoke.ZLMediaKitMethod.mk_auth_invoker_do(mk_auth_invoker, result); }
internal static ShellLonginResult OnShellLogin_Call(ShellLoginInfo shellLoginInfo) => OnShellLogin?.Invoke(shellLoginInfo);