• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Kevin Gao

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2012年2月1日

使用C#ping主机的方法
摘要: 在我们开发项目时经常会遇到要ping主机的问题,现在我封装了一个ping主机的方法,代码如下: /// <summary> /// Ping指定的主机,看能否ping通 /// </summary> /// <param name="Address">(主机地址)</param> /// <param name="TimeOut">(超时时间,默认:1s)</param> /// <returns>True if a response is received, false 阅读全文
posted @ 2012-02-01 11:45 Kevin Gao 阅读(697) 评论(0) 推荐(1)
 
使用C#ping主机的方法
摘要: 在我们开发项目时经常会遇到要ping主机的问题,现在我封装了一个ping主机的方法, 代码如下: /// /// Ping指定的主机,看能否ping通 /// /// (主机地... 阅读全文
posted @ 2012-02-01 11:45 Kevin Gao 阅读(24) 评论(0) 推荐(0)
 
分享一个异步发送邮件的类
摘要: 首先要定义一个邮件信息的基类,如下所示:/// <summary> /// Base message class used for emails /// </summary> public class Message { #region Constructor /// <summary> /// Constructor /// </summary> public Message() { } #endregion #region Properties /// <summary> /// Whom the message is to // 阅读全文
posted @ 2012-02-01 11:36 Kevin Gao 阅读(362) 评论(0) 推荐(0)
 
分享一个异步发送邮件的类
摘要: 首先要定义一个邮件信息的基类,如下所示: /// /// Base message class used for emails /// public class Message { #region Co... 阅读全文
posted @ 2012-02-01 11:36 Kevin Gao 阅读(22) 评论(0) 推荐(0)