473,947 Members | 18,894 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening ILDASM.EXE programatically using C#

Hi,

I would like to open ILDASM, programatically .
I could use
System.Diagnost ics.Process.Sta rt("....\ILDASM .eXE");

But in that case i'll have to hard code the path...
which i dont want to....

any ideas on how 2 go bout doing this???
thanx in advance,
Kamelsh.
Cognizant Technology Solutions
Jul 21 '05 #1
1 3043
Hi ,

As far as I know Framework 1.1 is always put into

%windir%\Micros oft.Net\Framewo rk\v1.1.4322

This is a valid path and will reflect partition and windows directory.

--
Happy coding!
Morten Wennevik [C# MVP]
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6239
by: Papanii | last post by:
Hi, I am a newbi in C# and i was trying to use the ILDASM command to check out the MSIL code of some compiled code. Unfortunatley I can't get it to run. I get the error "Windows cannot find ILDASM". Does anyone have a solution to this? Thanx --Papanii p.s. I have visual studio .net 2003 installed on my machine.
21
3217
by: Dino M. Buljubasic | last post by:
I'd like my application to be able to detect default email application (MS Outlook or whichever is set to be default) so that the user can enter the email body, address, subject line and send the email. I have found lots of references how to do the same using SmtpMail class but all of these send an email programatically without opening default emailing application. Any help will be greatfully appreciated Dino
1
1261
by: JLW | last post by:
Now, all these companies are making products that can crash ildasm, thus preventing assemblies from being disassembled. Is there specific code I can add to my assembly to do this? Also, I read about a /owner option for ilasm that appears to only have been in the BETA version of the framework. Why was this not included? It seems it would've provided some level of ildasm protection. Thanks, JLW
9
2593
by: VeNoM00 | last post by:
ILDasm retrieves the MSIL code of an assembly (exe or dll). So everyone can obtain my code! I don't like this thing! Can I prevent this?
1
261
by: Kamy Terminator | last post by:
Hi, I would like to open ILDASM, programatically. I could use System.Diagnostics.Process.Start("....\ILDASM.eXE"); But in that case i'll have to hard code the path... which i dont want to.... any ideas on how 2 go bout doing this???
5
4198
by: gpsmobiler | last post by:
Hi, I found through a lot of exhausting searching, that the following C# code will cause the IL code below: const byte ICON_MONO12BY12 =0; ....... IL-file.... .field literal private static unsigned int8 'a' = uint8 (0)
8
7782
by: Rak | last post by:
I am looking for a way to programatically change the .net version of the virtual directory that I am creating within a aspx page. As part of creating a new customer in my asp.net 2 application, it automatically creates a virtual directory and configures it. I am using the DirectoryServices.DirectoryEntry class in C# to do this. I am unable to set the .Net version of the virtual directory from 1.1 to version 2. All searches led me to the...
0
903
by: guy | last post by:
i want to look at some dlls generated by a web app i am working on with ildasm however all the dlls generated in the temporary directory get renamed to App_Web_.dll, similarly the vb source files are also renamed. given the number of dlls i dont want to open each up in turn hoping it is the one i want to look at. is there a recommended way to look at web app dlls using ildasm?
6
2893
by: omryk | last post by:
hi everybody.. i have one exe file and i want to understand using ilsasm.exe what is the name, version and other things i activate " ildasm.exe ex01.exe" and window opened show me the anaylsis of the file where i can see please the name versions, is it pe or assembly file tnx (I attched the file of the ildasm)
0
10164
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11352
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10694
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9895
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8256
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4948
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4540
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3544
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.