自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 Invoke vs BeginInvoke

Control的Invoke和BeginInvoke: Control.Invoke 方法 (Delegate) :在拥有此控件的基础窗口句柄的线程(UI thread)上执行指定的委托。 Control.BeginInvoke 方法 (Delegate) :在创建控件的基础句柄所在线程(UI thread)上异步执行指定委托。 Control的Invoke和BeginInvoke的参数

2012-11-12 18:44:36 679

原创 Check if the name and password are correct for domain

PrincipalContext context = new PrincipalContext(ContextType.Domain);          bool isValid = context.ValidateCredentials(userName, password);

2012-11-12 16:58:17 791

原创 How to find exchange server users

How to find exchange server users?          DirectoryEntry entry = new DirectoryEntry(_ldap, userName, password); // _ldap is domain such as  "LDAP://xxx.xxx.com";          DirectorySearcher ds = ne

2012-11-12 16:54:27 432

原创 Web service misc

If client invokes server in loop as follows, it will have bad performance.  Client:  foreach () { invoke server } In order to improve performance, client should invoke serve once (get a collecti

2012-11-12 11:53:35 451

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除