03 2015 档案
摘要:在SL年代,有第三方类库支持http://encoding4silverlight.codeplex.com在RT版本有点不兼容,一直没时间看。今天闲的卵疼,就来一段代码兼容一下RT版本,迟点整合到我自己类库,直接上码。/* * ***********************************...
阅读全文
摘要:您可以使用来自Windows.Phone.Management.Deployment命名空间的 API 来确定,来自您的发布者 ID 的其他应用是否安装在手机上。如果已经安装,您也可以使用该 API 启动它们。为了演示,以下示例枚举当前发布者 ID 的所有应用,并在枚举中启动第一个应用(除非该应用恰...
阅读全文
摘要:其实这个博友写得差不多了http://www.cnblogs.com/lipan/archive/2013/05/15/3080275.html里面提供大部分代码,没有提供源代码,小弟就拷贝过来调试修改一下。
阅读全文
摘要:方法1: HttpBaseProtocolFilter filter = new HttpBaseProtocolFilter(); var cookis = filter.CookieManager.GetCookies("http://dy.qq.com/p...
阅读全文
摘要:在c#里面我们经常用到1、if 然后按2下Tab,出来下面一段代码if (true){ }2、propfullprivate int myVar;public int MyProperty{ get { return myVar; } set { myVar =...
阅读全文