摘要: #region Base64编码解码 /// /// Base64加密 /// /// 加密采用的编码方式 /// 待加密的明文 /// public static string EncodeBase64(Encoding encode, string source) ... 阅读全文
posted @ 2014-12-15 15:57 平民的麦田 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: 什么是HTTP Basic Authentication?直接看http://en.wikipedia.org/wiki/Basic_authentication_scheme吧。在你访问一个需要HTTP Basic Authentication的URL的时候,如果你没有提供用户名和密码,服务器就会... 阅读全文
posted @ 2014-12-15 15:56 平民的麦田 阅读(5189) 评论(0) 推荐(0) 编辑
摘要: 最近刚从极光推送官网上看到V2版本要停用,不得不有重新写V3版本的。这里用到了 HTTP Basic Authentication http://www.cnblogs.com/pingming/p/4165057.html1、首先需要将你的app在极光官网上进行注册,获取一个ApiKey,一个AP... 阅读全文
posted @ 2014-12-15 15:44 平民的麦田 阅读(1309) 评论(0) 推荐(0) 编辑