Turning of ShadowCopy for AppDomian in runtime
HiWe have a webserviceclient developed in .NET 3.5 which we are having problems with regarding antivirus protections. The application is locally installed so there is no real security issue. For some...
View ArticleCannot pass a GCHandle across AppDomains
In managed code I have some callback that is called from unmanaged Win32 area. It is the wave recording process.Prepared PINNED buffers are sent to that unmanaged area and when I try to Free() them...
View ArticleUnloading a dynamically loaded assembly
Okay,So there are moments where reflection is awesome. Other times, like this, it can be a royal pain.I have a system in place which allows the user to select an assembly and load it for evaluation of...
View ArticleWhere is the documentation on System.Runtime.Serialization.BinaryFormatter...
I'm working on a utility function whose purpose is to take any two numeric typed objects (either item may be s/byte, u/int 16-64, float, decimal, or double) and determine if (and if so which) of 2...
View ArticleAdd-Migration command only prompt “ScriptHalted”
I'm trying to learn how to make App.Net Core application using Razor pages, using this tutorial :...
View Articlereport viewer problem in c#
Hi there , I have created a dataset for a report and creaded a report.rdlc file using fields from the dataset in a two level Item/Detail report format. So far so good. When I create a form for the...
View Articleregarding .NET Standard (VS .NET 2019)
Hi there,I use the .NET standard template to create a Class Library. and I got a error message as follows: how should I sort it out??...
View ArticleError: This implementation is not part of the Windows Platform FIPS validated...
In C# code, trying to encrypt the data in the system where FIPS is enabled.internal byte[] MyKeyWrap(Aes aes) { byte[] keyData = this.protectedKeyData.GetPlaintext(); try {...
View ArticleHow to scale & transform mouse location
Is there a set of transform and scaling functions for scaling the mouse handler routine's e.Location member? I'm usnig the Graphic.PageScale and Graphics.TranslateTransform(..) to pan and zoom my...
View ArticleChoose cipher suite in dot-net core 2.2
I am using dot.net core 2.2 and for a reason, i can't upgrade my code to work with core 3. I want my kestrel will use a specific cipher.. is that possible to do?
View ArticleCannot marshal 'return value': Generic types cannot be marshaled.
this is my C# code calling cpp function by passing image path to cpp function*********C# Code********************[DllImport("LineSegmentionImplemation.dll", CharSet = CharSet.Unicode, EntryPoint =...
View ArticleWindows 10 with Problem clr.dll
Hi,my PC is a new one. Fresh installed. Fully updated.My software is ADDISON for tax offices. They told me, it is a framework problem. Not really the problem of ADDISON.Within Windows 10, program and...
View Articleaspnet_regiis: Delete a key container on a machine, then try to reimport keys
Yesterday on our build machine, I created a key container and exported the keys to a file using the aspnet_regiis.exe program (from the v2.0.50727 framework directory). The commands I used were *...
View ArticleCommon Language Runtime Debugging Service error when running application
Hi Community, I am currently experiencing a problem with a piece of software I have installed on a Windows 10 1903 system. Whenever I launch the program as any other user than the domain admin, the...
View ArticleBi-directional communication between .NetCore 3 and UWP processes
We are developing an application with .Net Core 3. However, one of our dependencies only supportsUWP. Our plan so far has been to have a 'main' .Net Core 3 process for the bulk of our logic and a...
View ArticleObject does not match target type when raising an event from c# to VB6
I have a c# .net DLL that I use from a VB6 app. It exposes an event,and the VB6 app is sinking it.The VB6 app is receiving the event, as long as it is raised from themain thread of the .net DLL.I have...
View ArticleLocal assemblies loaded via Assembly.LoadFrom are untrusted from appications...
I have an simple (console) app that uses Assembly.LoadFrom to load an assembly from the local file system (it can even be in the bin folder of the executing app). App works fine if I run the app...
View Article[winrt] Loading bitmaps only on the main thread, and async.
I apologize if this is the wrong forum , but I just don't see any Windows Runtime forums.Loading bitmaps in winrt can only happen on the main thread, and async.I just want to understand why you would...
View Article