摘要:
string gameUrl =http://www.baidu.com string fileName = HttpUtility.UrlEncode("百度.url"); context.Response.ContentType = "APPLICATION/OCTET-STREAM"; context.Response.AddHeader("Content-Disposition", "at... 阅读全文
摘要:
using System;using IWshRuntimeLibrary;class Program{ static void Main(string[] args) { //创建快捷方式 //建立对象 WshShell shell = new WshShell(); //生成快捷方式文件,指定路径及文件名 IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut("c:\\" + "my.lnk"); //快捷方式指向的目标 shortcut.TargetPath = "e:\\S 阅读全文