¡@

Home 

c# Programming Glossary: pe

check if unmanaged dll is 32-bit or 64-bit?

http://stackoverflow.com/questions/1001404/check-if-unmanaged-dll-is-32-bit-or-64-bit

see http www.microsoft.com whdc system platform firmware PECOFF.mspx offset to PE header is always at 0x3C PE header starts.. whdc system platform firmware PECOFF.mspx offset to PE header is always at 0x3C PE header starts with PE 0 0 0x50 0x45.. firmware PECOFF.mspx offset to PE header is always at 0x3C PE header starts with PE 0 0 0x50 0x45 0x00 0x00 followed by 2..

Displaying the build date

http://stackoverflow.com/questions/1600962/displaying-the-build-date

turns out to be retrieving the linker timestamp from the PE header embedded in the executable file some C# code by Joe Spivey..

A C# equivalent of C's fread file i/o

http://stackoverflow.com/questions/1935851/a-c-sharp-equivalent-of-cs-fread-file-i-o

work out the fields used and determine its data using the PE structures. c# fread share improve this question There..

How can I determine for which platform an executable is compiled?

http://stackoverflow.com/questions/197951/how-can-i-determine-for-which-platform-an-executable-is-compiled

compiled with that as the target platform. The Exploring PE Headers K. Stanton MSDN blog entry that showed me the offset.. MachineType GetMachineType string fileName const int PE_POINTER_OFFSET 60 const int MACHINE_OFFSET 4 byte data new.. 64 bytes last element long 4 bytes is the address of the PE header int PE_HEADER_ADDR BitConverter.ToInt32 data PE_POINTER_OFFSET..

Can't get sql server compact 3.5 / 4 to work with ASP .NET MVC 2

http://stackoverflow.com/questions/3223359/cant-get-sql-server-compact-3-5-4-to-work-with-asp-net-mvc-2

All rights reserved. Version v2.0.50727 CLR Header 2.5 PE PE32 CorFlags 9 ILONLY 1 32BIT 0 Signed 1 I would have sworn.. All rights reserved. Version v2.0.50727 CLR Header 2.5 PE PE32 CorFlags 9 ILONLY 1 32BIT 0 Signed 1 I would have sworn I..

Load an EXE file and run it from memory using C#

http://stackoverflow.com/questions/3553875/load-an-exe-file-and-run-it-from-memory-using-c-sharp

but this in depth article has the steps you need to load a PE into memory and do the correct rebasing and fixups. Then you..

How to determine whether a DLL is a managed assembly or native (prevent loading a native dll)?

http://stackoverflow.com/questions/367761/how-to-determine-whether-a-dll-is-a-managed-assembly-or-native-prevent-loading

FileAccess.Read BinaryReader reader new BinaryReader fs PE Header starts @ 0x3C 60 . Its a 4 byte header. fs.Position 0x3C.. fs.Position 0x3C peHeader reader.ReadUInt32 Moving to PE Header start location... fs.Position peHeader peHeaderSignature.. reader.ReadUInt16 Now we are at the end of the PE Header and from here the PE Optional Headers starts... To go..

How to find if a native DLL file is compiled as x64 or x86?

http://stackoverflow.com/questions/480696/how-to-find-if-a-native-dll-file-is-compiled-as-x64-or-x86

code application C# . I think it must somewhere in the PE header since the OS loader needs to know this information but.. listed. dumpbin headers cv210.dll 64 bit Microsoft R COFF PE Dumper Version 10.00.30319.01 Copyright C Microsoft Corporation... Corporation. All rights reserved. Dump of file cv210.dll PE signature found File Type DLL FILE HEADER VALUES 8664 machine..

HTTPS from a console application?

http://stackoverflow.com/questions/10274207/https-from-a-console-application

8000 Service ServiceHost host new ServiceHost typeof Service new Uri baseAddress WebHttpBinding binding new WebHttpBinding.. WebHttpSecurityMode.Transport host.AddServiceEndpoint typeof IService new WebHttpBinding .Behaviors.Add new WebHttpBehavior.. WebHttpBinding .Behaviors.Add new WebHttpBehavior host.Open Console.WriteLine Host opened Console.ReadLine Is there a way..

“An internal error occurred.” when loading pfx file with X509Certificate2

http://stackoverflow.com/questions/1345262/an-internal-error-occurred-when-loading-pfx-file-with-x509certificate2

String fileName IntPtr password UInt32 dwFlags Boolean persistKeySet SafeCertContextHandle pCertCtx 0 System.Security.Cryptography.X509Certificates.X509Certificate... CN myhost.com E admin@myhost.com sky exchange b 01 01 2009 pe sv myhost.pvk myhost.cer b pvk2pfx b pvk myhost.pvk spc myhost.cer.. On the hosting server the ASP.NET process does not have permission to access the user store. share improve this answer..

heart shaped picturebox

http://stackoverflow.com/questions/14248003/heart-shaped-picturebox

shaped picturebox Is it possible to make a heart shaped picturebox.. shaped picturebox Is it possible to make a heart shaped picturebox in c# I have seen codes in making rectangle and.. and ellipse but I don't have any idea on making a heart shaped region. Any idea c# winforms picturebox share improve this..

How to open socket thru proxy server in .Net C#?

http://stackoverflow.com/questions/3127127/how-to-open-socket-thru-proxy-server-in-net-c

to open socket thru proxy server in .Net C# How to open socket thru.. to open socket thru proxy server in .Net C# How to open socket thru proxy server in .Net C# So I opened up a socket.. C# How to open socket thru proxy server in .Net C# So I opened up a socket on my machin. there are no nats between pe and..

WCF, HTTPS vs HTTP

http://stackoverflow.com/questions/3140526/wcf-https-vs-http

new BasicHttpBinding var serviceHost new ServiceHost typeof HelloWorldService new Uri addressHttps Type endpoint typeof.. typeof HelloWorldService new Uri addressHttps Type endpoint typeof IHelloWorldService serviceHost.AddServiceEndpoint.. HelloWorldService new Uri addressHttps Type endpoint typeof IHelloWorldService serviceHost.AddServiceEndpoint endpoint..

Panel not getting focus

http://stackoverflow.com/questions/3562235/panel-not-getting-focus

e protected override void OnPaint PaintEventArgs pe base.OnPaint pe if this.Focused var rc this.ClientRectangle.. override void OnPaint PaintEventArgs pe base.OnPaint pe if this.Focused var rc this.ClientRectangle rc.Inflate 2 2..