Browse common features added to. NET Framework 2.0 library

Source: Internet
Author: User

InVs2005 beta1I didn't know how to use it when I came out.Beta2Installed. View. Net 2.0I was surprised to find that many of them have beenCSDNAll the questions raised in the community have a direct solution. Fortunately, I wrote some text to list several functions that I care about.

 

 

1. Serial operation

NewSystem. IO. PortsNamespace, which providesSerialPortClass.

In. Net Framework 1.x, We need to use another component. For details, refer to the link I posted:Http://www.microsoft.com/china/MSDN/library/enterprisedevelopment/softwaredev/code4fun12102003.mspx,

The article mentioned three methods to achieve this. If necessary, you can download the relevant components and apply them to your own project.

 

 

2. Compression and decompression

NewSystem. IO. CompressionNamespace, which is used to compress or decompress commonly used files. It does not work yet, but it looks good. In. NET Framework 1.x, We usually useICSharpCode. SharpZipLib. dll, It isSharpDevelopA component used in ,:Aspx "> http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx; Another is to useJ #In the class libraryZipClass. For more information, seeVcsharp/miszipcompression. mspx "> http://www.microsoft.com/china/msdn/library/langtool/vcsharp/miszipcompression.mspx;

In addition, I seeFish

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.