Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to check the assembly (GAC) whether the corresponding dll file is found or not. If it is found then I have to copy that dll and save it on another location programatically.
How can i find and copy that specified dll using C# Code.

Thanks
Velkumar.
Posted
Updated 5-Jul-12 2:17am
v2
Comments
Sandeep Mewara 5-Jul-12 8:05am    
Any effort so far?
Velkumar Kannan 5-Jul-12 8:23am    
??????????
[no name] 5-Jul-12 9:13am    
Did you even bother trying anything? Look at the Directory and File classes.
Sergey Alexandrovich Kryukov 5-Jul-12 16:34pm    
Why?
--SA
Velkumar Kannan 6-Jul-12 0:17am    
I want to do it programatically.

1 solution

Try this.

Usually your GAC is located at

C:\winnt\assembly
or
C:\windows\assembly.

Find your dll there.
 
Share this answer
 
v4
Comments
Velkumar Kannan 5-Jul-12 8:46am    
I want to do it programatically using C#

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900