GetManifestResourceNames





0
Date Submitted Wed. Apr. 19th, 2006 4:26 AM
Revision 1 of 1
Beginner seasons
Tags 0 | 1
Comments 0 comments
GetManifest Resource Lists!!

using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace Manifest
{
    class Program
    {
        static void Main(string[] args)
        {
            foreach (string name in Manifest.GetResourceList())
            {
                Console.WriteLine( "Name = {0}" , name);
            }
        }
    }

    class Manifest
    {
        public static string[] GetResourceList()
        {
            Assembly asm = Assembly.GetExecutingAssembly();
            return asm.GetManifestResourceNames();
        }
    }
}
 

hata keisuke

hata.biz/
Hello!!

Comments

There are currently no comments for this snippet.

Voting

Votes Up


Scripter Sonsam

Votes Down


Syntax Master sundaramkumar