ASP.NET C# URL¼ÓÃܽâÃÜ
using System.Security.Cryptography;
using System.IO;
using System.text;
/// <summary>
/// ¼ÓÃÜ
/// </summary>
/// <param name="str"></param>
/// <param name="key"></param>
/// <returns></returns>
public static string Encode(string str, string key)
{
DESCryptoServiceProvider provider = new DESCryptoServiceProvider();
provider.Key = Encoding.ASCII.GetBytes(key.Substring(0, 8));
provider.IV = Encoding.ASCII.GetBytes(key.Substring(0, 8));
byte[] bytes = Encoding.GetEncoding("GB2312").GetBytes(str);
MemoryStream stream = new MemoryStream();
CryptoStream stream2 = new CryptoStream(stream, provider.CreateEncryptor(), CryptoStreamMode.Write);
stream2.Write(bytes, 0, bytes.Length);
stream2.FlushFinalBlock();
StringBuilder builder = new StringBuilder();
foreach (byte num in stream.ToArray())
Ïà¹ØÎĵµ£º
ÕýÎIJ¿·Ö£º
×¢Ò⣺ÒÔϺìÉ«²¿·Ö×ÖÌå˵Ã÷¸ÃÄÚÈÝÒýÓÃÓÚ΢ÈíµÄÏà¹ØÍøÕ¾
ÒòΪҪ×öÒ»¸öÊÓƵÍøÕ¾£¬ËùÒÔÐèÒªÌṩÓû§ÉÏ´«ÊÓƵµÄ¹¦ÄÜ¡£¿ÉÊÇASP.Net×Ô´øµÄÉÏ´«¿Ø¼þÖ»ÄÜÓÃÓÚÉÏ´«Ð¡Îļþ,ÕâÏÔÈ»ÎÞ·¨Âú×ãÐèÒª¡£ÓÐЩÅóÓÑ¿ÉÄÜÒªÎÊÁË"ΪʲôÐèÒªÓ ......
Flex
Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ
Flex Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ (Ò»)http://hi.baidu.com/tsengyuen/blog/item/644e98a3353f7287471064ef.html
Flex Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ (¶þ)http://hi.baidu.com/tsengyuen/blog/item/af02730d58d6d7266059f3e8.html
Flex Óë Asp.Net ͨ ......
×¢£ºasp.netĬÈÏÔÊÐíÉÏ´«Îª4096£¬¼´4MB
Èç¹ûÏëÒª´«¸ü´óµÄ£¬ÒªÔÚweb.config µÄsystem.web½ÚµãÀï¼ÓÉÏ
<httpRuntime maxRequestLength="10240" executionTimeout="3"/>Õâ¾Í¿ÉÒÔ×î´óÔÊÐí´«10MBÁË
µÚÒ»ÖÖ
1. ¼ì²éÎļþµÄÀ©Õ¹Ãû:
2.
3. //ÅжÏÊÇ·ñÓÐÉÏ´«Îļþ
4. if (Fil ......
1.ʹÓÃQueryString±äÁ¿
QueryStringÊÇÒ»Öַdz£¼òµ¥µÄ´«Öµ·½Ê½£¬Ëû¿ÉÒÔ½«´«Ë͵ÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖС£Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ£¬¿ÉÒÔʹÓÃÕâ¸ö·½·¨¡£µ«ÊǶÔÓÚ´«µÝÊý×é»ò¶ÔÏóµÄ»°£¬¾Í²»ÄÜÓÃÕâ¸ö·½·¨ÁË¡£ÏÂÃæÊÇÒ»¸öÀý×Ó£º
a.aspxµÄC#´úÂë
private void Button1_Click(object sender, Sy ......
**//// <summary>
x _0O%f+K)B5D /// Ö§³Ö¶ÏµãÐø´«µÄÏÂÔØ´óÎļþµÄº¯Êý Öв©IT½ÌÓýÍø4P z\2b,h-q `
/// </summary>
_;B$A.} S8E#@ D I /// <param name="downloadFil ......