Click here to Skip to main content
15,883,803 members
Articles / Programming Languages / C#

.NET File Format - Signatures under the Hood, Part 2 of 2

Rate me:
Please Sign up or sign in to vote.
5.00/5 (34 votes)
28 Sep 2009CPOL34 min read 48.5K   714   68  
Full description of signatures, that are part of .NET file format
In this article, you will see a full description about signatures that are part of the .NET file format.
// MarshalSpec\1.cs

using System;
using System.Runtime.InteropServices;

namespace SignaturesTest
{
    public class TestClass
    {
        [MarshalAs(UnmanagedType.LPWStr)]
        public string TestField;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Poland Poland
Przemek was born in 1988, he lives in small town near Warsaw in Poland, Europe. Currently he codes some C# stuff and J2EE as well, ocasionally he uses C++ for fun. Przemek is cycling fun, if weather permits he rides a bike.

Comments and Discussions