ARTICLES

文章

分享经验、记录生活和整理知识。

C#

Hprose客户端使用

//引用Hprose using Hprose.RPC; //定义服务器那边的接口 public interface Topapi{ public Hprose.Collections.Generic.NullableKeyDictionary<string,string> re…

2021-06-28 · 0 阅读
C#

C#释放嵌入的资源

释放lib目录下的嵌入的资源 for (int i = 0; i < Assembly.GetExecutingAssembly().GetManifestResourceNames().Length; i++) { string name = Assembly.GetExecuti…

2020-06-06 · 0 阅读
C#

模拟键盘事件 System.Windows.Forms.SendKeys

1.模拟键盘事件 System.Windows.Forms.SendKeys 以下是   SendKeys   的一些特殊键代码表。     键   代码       BACKSPACE   {BACKSPACE}、{BS}   或   {BKSP}       BREAK   {…

2019-08-26 · 0 阅读
C#

CefSharp COOKIE保留

public ChromiumWebBrowser CWebBrowser; public CookieVisitor cookieVisitor; public static string cookies; public Form1() { Ini…

2019-03-07 · 0 阅读
C#

C#常用函数

//强制结束进程 Process.GetCurrentProcess().Kill();

2019-03-07 · 0 阅读