Get a variable type using reflection
I am not sure if this is the right forum to ask my question, if not please anyone let me know the better one.I am developing an application which allows a user to enter c# code and it is built at...
View ArticleNamed Pipe De/Re-Construction
I have built a VB.NET application, two instances of which talk (only) to each other via a single named pipe.One instance is configured as named pipe Server, and the other as Client.Works fine, except...
View ArticleCasting of enum fields
Hey Hello .net Experts, I have a question regarding the implicit casting of enum. If we are having same type of enums should we cast both before we are comparing these?It is something like if there are...
View Articlebuilding and saving an assembly dinamically
I need to build some classes dynamically and save the assemblyto disk,however when I examine a dynamically built classusing ildasm, and compare it with a statically built classwith the same member...
View ArticleApplication uses .Net Framework 4.0, although is was build with 2.0
At one of our customers, our application, that was build with the .Net Framework 2.0, always gets started with .Net Framework 4.0.This causes a crash in a 3rd party assembly (Telerik).We already...
View ArticlePE file Optional Header checksum
HiI generate and sign my app using makecert & signtool commands. After signing the executable file, the checksum field of optional header changed from 0 to some value, Then I changed some bytes of...
View ArticleHow to add email address to a certificate
HiI generate a certificate using makecert.exe and using signtool.exe to sign my app. But in the file properties dialog box on digital signatures details the email field is "Not available". How can i...
View ArticleNtQueryInformationFile for FileStreamInformation succeeds in 32-bit fails in...
I'm trying to list the alternate streams of a file hosted on an SMB server using the NtQueryInformationFile function. The code I've written so far works correctly with most servers but fails sometimes...
View ArticleCannot access .NET 4.5.2 Developer Pack web page
When I try to go to the following link I get an error page.https://www.microsoft.com/en-us/download/details.aspx?id=42637Is there another link where I could download the .NET 4.5.2 Developer Pack?
View ArticleC# , RSAC , pem file ,RSA
i need your help in cryptography . i have keys wich were generated in openssl and i need generete the key signature loike ".pem. file from another key . which will encrypt my text . i don't want...
View Article1-12-2016 Windows 10 update just killed my UWP app
Foolishly, I was in a hurry and didn't backup my box before allowing this update, which I always do. A good lesson here for everyone. My app was stable, but now it will not run compiled with .NET...
View ArticlePInvoking ReadFileEx
I'm trying to use PInvoke to call ReadEx, but I haven't been able to figure out exactly how to do it. The signature for ReadFileEx contains a callback delegate, which is provided as...
View ArticleInternational keyboard layouts crashes .net app
I have an old program that was written and is running under .net 2.0 with SP2. It worked with no problems on Windows 7, but on Windows 8 and Windows 10 the program crashes when changing the keyboard...
View ArticleHow to find difference between Tables in two databases through C# and DB2
Hi All, I have Two Databases which contains identical Tables and Stored Procedures etc. I need to compare database tables (i.e. All columns Name, Column Type, Column Size, Constraints on Tables),...
View ArticleThe “ProvideAssemblyProcessorArchitecture” task failed unexpectedly
Hi, Target "ValidateRoleFiles64bitAssemblies" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Windows Azure Tools\2.4\Microsoft.WindowsAzure.targets" from project...
View ArticleWhat is JIT Compiler location ?
How and which application is JIT Compiler in windows 10 Latest version of .Net Framework? C#, VB.Net or Compiled to MSCIL then when app runs JIT ( JUST IN TIME ) Compiler compiles and Convert that...
View ArticleVB output/thread problems
hey im having problems with my vb output thing. im using vb 2015 for a vb 2013 project and i keep getting this thing about something in my threads in my output it looks like this'Bradley's Game...
View ArticleFIPS validated cryptographic algorithms
I have enabled the FIPS algorithm policy on our windows server2008 machine. Now, any page that has a viewstate is abending with the following error: This implementation is not part of the Windows...
View ArticleHow to use enhanced strong naming for .net projects from within visual studio
Hi,I found this msdn article showing how to strong name sign an assembly with SHA-2 (Enhanced Strong Naming), but it uses the command line and delayed signing. This is not what i want to do.I would...
View ArticleFramework 4.5 WPF Application crashes on second startup
Hi there,we've a C# WPF 4.5 application, that crashes on a Terminal Server on the second startup with an internal error in the Framework: Ereignis-ID 1023 Application: Windream.Find.Wpf.exe Framework...
View Article