<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.yaosansi.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.yaosansi.com" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/yaosansi" type="application/rss+xml"></fs:self_link><lastBuildDate>Sun, 01 Aug 2010 15:36:34 GMT</lastBuildDate><title>yaosansi's Blog</title><description>当你背向太阳的时候，你只会看到自己的阴影！能力是有限的，努力无限的！</description><image><url>http://www.feedsky.com/feed/yaosansi/sc/gif</url><title>yaosansi's Blog</title><link>http://www.yaosansi.com/</link></image><link>http://www.yaosansi.com/</link><language>zh-CN</language><copyright>Copyright 2005-2010 yaosansi'site All Rights Reserved.感谢系统大玩家为本站提供FTP空间 辽ICP备05021434号		var gaJsHost = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot;https://ssl.&amp;quot; : &amp;quot;http://www.&amp;quot;);	document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + gaJsHost + &amp;quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&amp;quot;));var pageTracker = _gat._getTracker(&amp;quot;UA-1642926-1&amp;quot;);pageTracker._initData();pageTracker._trackPageview();var _bdhmProtocol = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot; https://&amp;quot; : &amp;quot; http://&amp;quot;);document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + _bdhmProtocol + &amp;quot;hm.baidu.com/h.js%3F8301c321580a01c02e02df1f0a11387e' type='text/javascript'%3E%3C/script%3E&amp;quot;));var pkBaseURL = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot;https://analytics.yaosansi.com/&amp;quot; : &amp;quot;http://analytics.yaosansi.com/&amp;quot;);document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + pkBaseURL + &amp;quot;piwik.js' type='text/javascript'%3E%3C/script%3E&amp;quot;));try {var piwikTracker = Piwik.getTracker(pkBaseURL + &amp;quot;piwik.php&amp;quot;, 1);piwikTracker.trackPageView();piwikTracker.enableLinkTracking();} catch( err ) {}</copyright><pubDate>Tue, 03 Aug 2010 15:29:10 GMT</pubDate><item><title>多台机器共享鼠标键盘VS多台机器共享显示器屏幕</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878148/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1457</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1457&amp;key=cdabf425</trackback:ping><description>一、多台机器共享鼠标键盘Synergy 是一款能够让使用者仅用一套键盘鼠标，就同时操控多部计算机的免费工具软件。使用者能够在包括 Windows 、 Linux 、 Mac OS 等不同的系统上安装它，并且在设定好主从关系后，就能够透过一组键盘鼠标来进行多部计算机的操控。有人在Google Code上建立了新的Synergy+项目来继续维护。基本是对Synergy的Bug修正，配置方法和Synergy完全一致。感兴趣的朋友可以尝试一下。Synergy的使用方法（Google）&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1457.html&quot; target=&quot;_blank&quot;&gt;继续阅读《多台机器共享鼠标键盘VS多台机器共享显示器屏幕》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/SoftWare.html&quot;&gt;SoftWare&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=Synergy&quot;&gt;Synergy&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=MaxiVista&quot;&gt;MaxiVista&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=xdmx&quot;&gt;xdmx&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1457.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1457.html#comment&quot; target=&quot;_blank&quot;&gt;还没有相关文章，您来说两句？&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878148/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878148/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878148/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878148/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>SoftWare</category><pubDate>Sun, 01 Aug 2010 23:36:34 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1457.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1457.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1457.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878148/1225582</fs:itemid></item><item><title>RSACryptoServiceProvider fails when used with ASP.NET</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878149/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1456</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1456&amp;key=11216ab5</trackback:ping><description>I will talk today about a very common issue we face when we try to use .NET's RSACryptoServiceProvider class in ASP.NET.When we try to create a new RSACryptoServiceProvider object in this scenario, we may get the following exception: &quot;System.Security.Cryptography.CryptographicException: The system cannot find the file specified&quot;.By using my CryptoAPI Tracer script we can take a look to the CryptoAPI calls that .NET is making behind the scenes. Thanks to this script we will be able to see the exact API that is failing and the exact error (which most of the time .NET masks).In our case, the API that fails is CryptAcquireContext, and it fails with error #2 (ERROR_FILE_NOT_FOUND). According to CryptAcquireContext documentation, this error means the following:&quot;The profile of the user is not loaded and cannot be found. This happens when the application impersonates a user, for example, the IUSR_ComputerName account.&quot;By default, ASP.NET won't load the user profile. Take a look to the parameters of the problematic CryptAcquireContext call as being shown in the log file that my script generated. If this API is not being called with CRYPT_MACHINE_KEYSET (to use the machine profile) or CRYPT_VERIFYCONTEXT (to use temporary key stores), it will try to access the key stores in the user profile, and it will fail because its not loaded.&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1456.html&quot; target=&quot;_blank&quot;&gt;继续阅读《RSACryptoServiceProvider fails when used with ASP.NET》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/DOTNET.html&quot;&gt;C#|DOTNET&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=CommentsRSACryptoServiceProvider&quot;&gt;CommentsRSACryptoServiceProvider&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=CryptAcquireContext&quot;&gt;CryptAcquireContext&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=CryptoAPI&quot;&gt;CryptoAPI&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=Debugger+scripts&quot;&gt;Debugger scripts&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=System%2ESecurity&quot;&gt;System.Security&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1456.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1456.html#comment&quot; target=&quot;_blank&quot;&gt;还没有相关文章，您来说两句？&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878149/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878149/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878149/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878149/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>C#|DOTNET</category><pubDate>Tue, 20 Jul 2010 15:48:53 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1456.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1456.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1456.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878149/1225582</fs:itemid></item><item><title>nginx location节点 proxy_pass 中的”/”</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878150/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1455</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1455&amp;key=d4fe2cc1</trackback:ping><description>在nginx中配置proxy_pass时，如果是按照^~匹配路径时要注意proxy_pass后的url最后的/当加上了/，相当于是绝对根路径，则nginx不会把location中匹配的路径部分代理走如果没有/，则会把匹配的路径部分也给代理走01.location ^~ /static_js/ 02.{ 03.proxy_cache js_cache; 04.proxy_set_header Host js.test.com; 05.proxy_pass http://js.test.com/; 06.}如上面的配置，如果请求的url是http://servername/static_js/test.html会被代理成http://js.test.com/test.html而如果这么配置:01.location ^~ /static_js/ 02.{ 03.proxy_cache js_cache; 04.proxy_set_header Host js.test.com; 05.proxy_pass  http://js.test.com;06.}&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1455.html&quot; target=&quot;_blank&quot;&gt;继续阅读《nginx location节点 proxy_pass 中的”/”》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/SoftWare.html&quot;&gt;SoftWare&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=nginx&quot;&gt;nginx&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=location&quot;&gt;location&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=paoxy%5Fpass&quot;&gt;paoxy_pass&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1455.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;h3&gt;相关文章:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1454.html&quot;&gt;nginx同IP、同端口、不同域名时的转发&lt;/a&gt; (2010-7-10 17:13:53)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1417.html&quot;&gt;首个Nginx windows Stable 版--轻量级Web服务器Nginx 0.7.59&lt;/a&gt; (2009-5-26 0:19:51)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1390.html&quot;&gt;Ubuntu + nginx +mono 2.0 + asp.net&lt;/a&gt; (2008-10-28 20:5:43)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/813.html&quot;&gt;&lt;location&gt;示例&lt;/a&gt; (2006-8-16 16:38:58)  &lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878150/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878150/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878150/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878150/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>SoftWare</category><pubDate>Sat, 10 Jul 2010 19:41:03 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1455.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1455.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1455.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878150/1225582</fs:itemid></item><item><title>nginx同IP、同端口、不同域名时的转发</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878151/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1454</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1454&amp;key=3da4f4f0</trackback:ping><description>在使用nginx时对于upstream的server的测试中发现，nginx默认对其使用的是基于IP的转发，这就意味着对于同IP、同端口、不同域名时无法进行转发。在官方WIKI：http://wiki.nginx.org/NginxHttpUpstreamModule没有查到相应的解决方案。在GOOGLE上查到多篇几乎无人问同样的问题，最终发现Timo的这篇文章：nginx单一端口域名转发，也进一步证实了yaosansi的猜测是正确的.以下引用了Timo的原文中的解决方案：&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1454.html&quot; target=&quot;_blank&quot;&gt;继续阅读《nginx同IP、同端口、不同域名时的转发》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/SoftWare.html&quot;&gt;SoftWare&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=nginx&quot;&gt;nginx&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=upstream&quot;&gt;upstream&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=Server&quot;&gt;Server&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=proxy%5Fset%5Fheader&quot;&gt;proxy_set_header&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=%E5%90%8CIP%E5%90%8C%E7%AB%AF%E5%8F%A3%E4%B8%8D%E5%90%8C%E5%9F%9F%E5%90%8D&quot;&gt;同IP同端口不同域名&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1454.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;h3&gt;相关文章:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1455.html&quot;&gt;nginx location节点 proxy_pass 中的”/”&lt;/a&gt; (2010-7-10 19:41:3)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1417.html&quot;&gt;首个Nginx windows Stable 版--轻量级Web服务器Nginx 0.7.59&lt;/a&gt; (2009-5-26 0:19:51)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1390.html&quot;&gt;Ubuntu + nginx +mono 2.0 + asp.net&lt;/a&gt; (2008-10-28 20:5:43)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/272.html&quot;&gt;关于上下文 HttpContext&lt;/a&gt; (2005-11-3 16:37:40)  &lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878151/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878151/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878151/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878151/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>SoftWare</category><pubDate>Sat, 10 Jul 2010 17:13:53 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1454.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1454.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1454.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878151/1225582</fs:itemid></item><item><title>使用signtool与Verisign SPC和PVK在命令行下对EXE等文件进行数字签名</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878152/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1453</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1453&amp;key=4e1af204</trackback:ping><description>&lt;p&gt;原文：&lt;a title=&quot;http://www.yaosansi.com/post/1453.html&quot; href=&quot;http://www.yaosansi.com/post/1453.html&quot;&gt;http://www.yaosansi.com/post/1453.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;How to sign EXE using signtool with Verisign SPC and PVK on the command line？&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt; run &amp;quot;signtool signwizard&amp;quot; to start the signing wizard.     &lt;br /&gt;1. File Selection: Choose the EXE you wish to sign (ie, yaosansi.com.exe)      &lt;br /&gt;2. Signing Options: Choose &amp;quot;Custom&amp;quot;      &lt;br /&gt;3. Signature Certificate: Click &amp;quot;Select from File&amp;quot; and choose &amp;quot;mycredentials.spc&amp;quot;      &lt;br /&gt;4. Private Key: Select &amp;quot;Private key file on disk&amp;quot; and choose &amp;quot;myprivatekey.pvk&amp;quot;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Leave CSP at &amp;quot;Microsoft Strong Cryptographic Provider&amp;quot;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Leave Provider Type at &amp;quot;RSA FULL&amp;quot;      &lt;br /&gt;5. Private Key Password: Enter &amp;quot;xxxxxxxxxx&amp;quot;      &lt;br /&gt;6. Hash Algorithm: Leave it at 'sha1'      &lt;br /&gt;7. Additional Certificates:      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Leave it at &amp;quot;All certificates in the certification path, including the root&amp;quot;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Leave it at &amp;quot;No additional certificates&amp;quot;      &lt;br /&gt;8. Data Description: Enter the following:      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Description:yaosansi.com      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Web Location: &lt;a href=&quot;http://www.yaosansi.com&quot;&gt;http://www.yaosansi.com&lt;/a&gt;      &lt;br /&gt;9. Digital Signature Wizard:      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Enable &amp;quot;Add a timestamp to the data&amp;quot;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - Timestamp service URL: &lt;a href=&quot;http://timestamp.verisign.com/scripts/timstamp.dll&quot;&gt;http://timestamp.verisign.com/scripts/timstamp.dll&lt;/a&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; - 这里还有两个免费的时间戳服务器      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; a.&lt;a title=&quot;http://timestamp.wosign.com/timestamp&quot; href=&quot;http://timestamp.wosign.com/timestamp&quot;&gt;http://timestamp.wosign.com/timestamp&lt;/a&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; b.&lt;a title=&quot;http://timestamp.comodoca.com/authenticode&quot; href=&quot;http://timestamp.comodoca.com/authenticode&quot;&gt;http://timestamp.comodoca.com/authenticode&lt;/a&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; * Note: This enables the signature to work forever; not sure      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; what this means but the Verisign guy was pretty excited about it      &lt;br /&gt;10. Review and click OK      &lt;br /&gt;11. Enter private key password: Enter &amp;quot;xxxxxxxxxxx&amp;quot;      &lt;br /&gt;12. Done!&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;相关文章:   &lt;br /&gt;&lt;a href=&quot;http://www.cnblogs.com/1-2-3/archive/2007/11/27/colloquialism-digital-certificate-part4.html&quot;&gt;白话数字签名（番外篇）——签名EXE文件（上）&lt;/a&gt;    &lt;br /&gt;&lt;a href=&quot;http://www.cnblogs.com/1-2-3/archive/2007/12/03/colloquialism-digital-certificate-part5.html&quot;&gt;白话数字签名（番外篇）——签名EXE文件（下）&lt;/a&gt;    &lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/zh-cn/library/8s9b9yaz(VS.80).aspx&quot; target=&quot;_blank&quot;&gt;签名工具 (SignTool.exe)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1453.html&quot; target=&quot;_blank&quot;&gt;继续阅读《使用signtool与Verisign SPC和PVK在命令行下对EXE等文件进行数字签名》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/SoftWare.html&quot;&gt;SoftWare&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=signtool&quot;&gt;signtool&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=SPC&quot;&gt;SPC&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=PVK&quot;&gt;PVK&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=%E6%95%B0%E5%AD%97%E7%AD%BE%E5%90%8D&quot;&gt;数字签名&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1453.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1453.html#comment&quot; target=&quot;_blank&quot;&gt;还没有相关文章，您来说两句？&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878152/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878152/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878152/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878152/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>SoftWare</category><pubDate>Tue, 06 Jul 2010 11:44:57 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1453.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1453.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1453.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878152/1225582</fs:itemid></item><item><title>.NET中的RSA加密解密</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878153/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1450</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1450&amp;key=40175ae0</trackback:ping><description>在 .NET Framework 3.5 beta 时，微软曾引入了一个新的包 System.Numerics，其中包含了大整数（BigInteger）类，不过可惜在后来的接近发布时，这个包又移除了。现在 .NET Framework 4.0 又重新将它请了回来。而且这次的正式版本中不会再次移除了。这对 .NET 开发者算是一个好事，但如果只有使用 .NET Framework 4.0 的用户才能享受到这个包，还是不太完美，毕竟现在大多数 .NET 开发还停留在 2.0 或 3.5 的阶段。&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1450.html&quot; target=&quot;_blank&quot;&gt;继续阅读《.NET中的RSA加密解密》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/DOTNET.html&quot;&gt;C#|DOTNET&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=RSA&quot;&gt;RSA&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=BigInteger&quot;&gt;BigInteger&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=System%2ENumerics%2Edll&quot;&gt;System.Numerics.dll&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1450.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(2)&lt;/p&gt;&lt;h3&gt;相关文章:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1124.html&quot;&gt;RSA加密在VS.NET的使用 &lt;/a&gt; (2007-9-6 21:16:13)  &lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878153/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878153/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878153/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878153/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>C#|DOTNET</category><pubDate>Thu, 17 Jun 2010 11:06:31 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1450.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1450.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1450.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878153/1225582</fs:itemid></item><item><title>Avoiding InvokeRequired</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878154/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1449</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1449&amp;key=a5519ddd</trackback:ping><description>Introduction to Second VersionThis is a new, extended, improved version of my original article. This was (and is) my first (and only until now) CodeProject article. It was well rated, but at the same time a lot of people suggested corrections, alternatives and improvements. So I will use all this new info to show you a better way to do the same thing. Every improvement in my code was suggested by someone else, so this is some sort of collective writing. I'm just compiling things that you can read in the forum. But since I don't always read the forum, it makes sense to me to make some &quot;text oriented maintenance&quot;. I will try to give everyone his own credit.There are two solutions now inside the download, one for VS2008 with four projects (Desktop and Compact Framework for C# 3.5 and C# 2.0) and another one for VS2005 with four projects (Desktop and Compact Framework for C# 2.0, two different ways to solve the problem for each).At the very end of the article, you will find what I think now is the &quot;official&quot; way (the Microsoft way) to solve this problem. I didn't know about this method until a couple of people post about it in the forum. At least, read that (click here). But I will stick to my way of solving this issue. The following text is pretty much the exact text from the original article; new text begins below the second horizontal line. Enjoy.&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1449.html&quot; target=&quot;_blank&quot;&gt;继续阅读《Avoiding InvokeRequired》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/DOTNET.html&quot;&gt;C#|DOTNET&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=InvokeRequired&quot;&gt;InvokeRequired&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1449.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1449.html#comment&quot; target=&quot;_blank&quot;&gt;还没有相关文章，您来说两句？&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878154/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878154/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878154/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878154/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>C#|DOTNET</category><pubDate>Wed, 16 Jun 2010 23:24:20 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1449.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1449.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1449.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878154/1225582</fs:itemid></item><item><title>Winform与Function evaluation （Func eval and System.Windows.Forms.Form）</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878155/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1448</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1448&amp;key=40292970</trackback:ping><description>Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluationIf you ever try to debug a multi-threaded Windows Forms application, today's blog is for you. A customer asked me about this issue, and since I have also run into this problem, I decided to talk about it. What is func eval?If you already know what func eval is, or don't care, skip to the bottom.For the rest of us, I wanted to give some background. Func Eval is short for 'function evaluation'. The idea is this: instead of just reading data out of the debuggee process to fill out the watch window, the debugger actually causes code to run inside the debuggee process. It does this by hijacking the stopped thread, and running something entirely different on that thread. Func eval has been a feature of the Visual Studio debugger for a while now.&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1448.html&quot; target=&quot;_blank&quot;&gt;继续阅读《Winform与Function evaluation （Func eval and System.Windows.Forms.Form）》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/DOTNET.html&quot;&gt;C#|DOTNET&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=func+eval&quot;&gt;func eval&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=winform&quot;&gt;winform&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=debug&quot;&gt;debug&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=multithreading&quot;&gt;multithreading&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1448.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;h3&gt;相关文章:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1407.html&quot;&gt;实现类似VS中解决方案管理器和类视图等可停靠效果&lt;/a&gt; (2009-2-15 10:17:29)  &lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878155/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878155/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878155/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878155/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>C#|DOTNET</category><pubDate>Fri, 28 May 2010 22:44:36 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1448.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1448.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1448.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878155/1225582</fs:itemid></item><item><title>LazyLoad延迟加载链接篇</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878156/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1447</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1447&amp;key=3dfa5ceb</trackback:ping><description>随着网站访问量的增加，很多大流量网站都使用了LazyLoad延迟加载技术，特别是图片较多的网站，如：淘宝、土豆等。 在包含很多大图片长页面中延迟加载图片可以加快页面加载速度. 浏览器将会在加载可见图片之后即进入就绪状态. 在某些情况下还可以帮助降低服务器负担.&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1447.html&quot; target=&quot;_blank&quot;&gt;继续阅读《LazyLoad延迟加载链接篇》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/DOTNET.html&quot;&gt;C#|DOTNET&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=LazyLoad&quot;&gt;LazyLoad&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=%E5%BB%B6%E8%BF%9F%E5%8A%A0%E8%BD%BD&quot;&gt;延迟加载&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=jQuery&quot;&gt;jQuery&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=Google&quot;&gt;Google&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=analytics&quot;&gt;analytics&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1447.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;h3&gt;相关文章:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1421.html&quot;&gt;Google收集的一些网站加速工具&lt;/a&gt; (2009-7-7 20:30:13)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1374.html&quot;&gt;自定义GOOGLE广告(GoogleAdsense)&lt;/a&gt; (2008-9-4 15:40:22)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1366.html&quot;&gt;使用Google Weather API查询天气预报&lt;/a&gt; (2008-8-22 13:18:35)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1309.html&quot;&gt;jQuery实现的滚屏效果&lt;/a&gt; (2008-6-5 15:38:30)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1308.html&quot;&gt;50+ Amazing Jquery Examples- Part1 Posted in: jquery&lt;/a&gt; (2008-6-5 10:49:26)  &lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878156/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878156/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878156/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878156/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>C#|DOTNET</category><pubDate>Fri, 28 May 2010 21:48:38 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1447.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1447.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1447.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878156/1225582</fs:itemid></item><item><title>C#中向process发送ctrl-c事件[控制台程序] (c# how to send a ctrl-C signal programatically to a process?)</title><link>http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878157/1225582/1/item.html</link><wfw:comment>http://www.yaosansi.com/</wfw:comment><wfw:commentRss>http://www.yaosansi.com/feed.asp?cmt=1446</wfw:commentRss><trackback:ping>http://www.yaosansi.com/cmd.asp?act=tb&amp;id=1446&amp;key=b196f3f6</trackback:ping><description>Win32应用程序主要有两种类型:控制台应用程序(Console)和窗体程序(Winform)，他们使用不同的方式处理应用程序退出。要强制窗体程序(Winform)退出，你需要发送WM_CLOSE消息到主窗口句柄。.NET中可以使用Application.ApplicationExit或Form.Close。在控制台应用程序，这点有所不同。控制台应用程序有点模仿DOS控制台应用程序，通常是在应用程序退出时，进程（命令）执行结束或Ctrl - C被按下。&lt;p&gt;Copyright © 2008&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1446.html&quot; target=&quot;_blank&quot;&gt;继续阅读《C#中向process发送ctrl-c事件[控制台程序] (c# how to send a ctrl-C signal programatically to a process?)》的全文内容...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;分类: &lt;a href=&quot;http://www.yaosansi.com/post/DOTNET.html&quot;&gt;C#|DOTNET&lt;/a&gt; | Tags: &lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=C%23&quot;&gt;C#&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=process&quot;&gt;process&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=ctrl%2Dc&quot;&gt;ctrl-c&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=Console&quot;&gt;Console&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=dos&quot;&gt;dos&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.yaosansi.com/catalog.asp?tags=SetConsoleCtrlHandler&quot;&gt;SetConsoleCtrlHandler&lt;/a&gt;&amp;nbsp;&amp;nbsp; | &lt;a href=&quot;http://www.yaosansi.com/post/1446.html#comment&quot; target=&quot;_blank&quot;&gt;添加评论&lt;/a&gt;(0)&lt;/p&gt;&lt;h3&gt;相关文章:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1444.html&quot;&gt;AppDomain和动态加载&lt;/a&gt; (2010-4-29 14:31:31)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1443.html&quot;&gt;[转载]C#中动态加载和卸载DLL&lt;/a&gt; (2010-4-29 14:28:30)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1424.html&quot;&gt;使用C#压缩/解压缩7-zip文件 zip/Unzip file using 7-zip in C#&lt;/a&gt; (2009-8-1 16:29:54)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1407.html&quot;&gt;实现类似VS中解决方案管理器和类视图等可停靠效果&lt;/a&gt; (2009-2-15 10:17:29)  &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.yaosansi.com/post/1387.html&quot;&gt;.NET中的动态编译&lt;/a&gt; (2008-10-20 15:4:33)  &lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/398878157/yaosansi/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/yaosansi/~6895154/398878157/1225582/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/yaosansi/398878157/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/yaosansi/398878157/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>C#|DOTNET</category><pubDate>Wed, 26 May 2010 14:46:25 +0800</pubDate><author>yaosansi@126.com (yaosansi)</author><comments>http://www.yaosansi.com/post/1446.html#comment</comments><guid isPermaLink="false">http://www.yaosansi.com/post/1446.html</guid><dc:creator>yaosansi@126.com (yaosansi)</dc:creator><fs:srclink>http://www.yaosansi.com/post/1446.html</fs:srclink><fs:srcfeed>http://www.yaosansi.com/rss.xml</fs:srcfeed><fs:itemid>feedsky/yaosansi/~6895154/398878157/1225582</fs:itemid></item></channel></rss>