Welcome to Dream.In.Code
Become a C# Expert!

Join 150,413 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 983 people online right now. Registration is fast and FREE... Join Now!




Finding Namespaces

 
Reply to this topicStart new topic

Finding Namespaces, I need hint to find out namespaces used in assembly

kkc_mdh
25 Mar, 2008 - 08:34 AM
Post #1

New D.I.C Head
*

Joined: 25 Mar, 2008
Posts: 1

Hello sir!

I need help in finding out the namespaces used in an Assembly.
I have already tried a lot using Reflection namespace but i don't find any direct way to get namespaces. Please so me any method by which i can find out namespaces.

thanks
kkc_mdh
User is offlineProfile CardPM
+Quote Post

zakary
RE: Finding Namespaces
25 Mar, 2008 - 09:25 AM
Post #2

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 420



Thanked: 8 times
Dream Kudos: 175
My Contributions
There is no way to get the namespace using reflection, nor and need. what is it you are trying to do.
here is a list of things you can get using reflection.

Assembly
Class
ClassMembers
Constructor
Delegate
Enum
Event
Field
Interface
Method
Module
Parameter
Property
ReturnValue
Struct

This post has been edited by zakary: 25 Mar, 2008 - 09:26 AM
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Finding Namespaces
25 Mar, 2008 - 09:29 AM
Post #3

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
That is correct, you cannot get the Namespaces using in an Assembly. You can, however, get all the attributes of an Assembly using Reflection.

Not sure if that will help you much, just thought I would offer it to you smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 07:45PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month