Sql server database saved credentials in memory
Hello team, SQL server saved the credentials in memory in plain text. So how can we mitigate this issue in 2 tier thick application.
Database credential saved in memory.
Hello team, While testing thick client application. I dumped the memory from task manager and process hacker tools and I got database credentials. So How can I mitigate this issues in C++, C# and .net application. Please suggest and explain in details so…
Visual Studio C# Windows Forms Application touch screen exception error
I have Windows Forms Visual Studio Project; I have added the code to be able to use a finger instead of the mouse on touch screen monitor. When I use a mouse, everything is working, but when I use a finger to top and double top on the screen also working…
How to set up WinUI3 applications to run as administrators
I'm begging to write WinUI3 application. Administrator privileges are required for certain functions. In the Win-form program, simply configure the following in the app. manifest <requestedExecutionLevel level="requestAdministrator"…
How to reproduce the UI control from mock-up using wpf?
Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. ``
How to access/Update Group Policy Objects using C sharp
Hi, We are referring below link to access group policies programmatically using c sharp. https://learn.microsoft.com/en-us/previous-versions/windows/desktop/wmi_v2/class-library/gpo-class-microsoft-grouppolicy This is sample code which we have written…
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…
PDF File not opening in modal popup in asp.net using embed
I am unable to open the pdf file which is located in file server path through modal popup. pls. find below code. <script type="text/javascript"…
convert letters increase by 1
Hello, Mask_range="ABCDEFGHJKLMNPQRSTUVWXYZ" Not allowed I and O NewValue: AA AB AG AH BA **Input** NewValue1: AB AC AH AJ BB **Output** NewValue2: …
How to check if an audio file is being played by programs like video players or audio players using C# as console-based app?
I want to check if an audio file is being played by audio or video player programs or by other programs. Since I don't have any knowledge or somehow solid knowledge about how to do it, I hope, you all(Microsoft Q&A community) will help me to do…
How to add a different CSS to a razor page in Blazor WASM?
I am working on a Blazor WASM e-commerce application using the .NET 6 old version with a default template. I want to add a new razor page with a different look while keeping the old ones in the project. How can I achieve this? Specifically, I want to add…
REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…
How to open pdf file in modal popup in ASP.NET C#
I am developing ASP.NET application. i used gridview to insert, update and delete the data. Also, i am uploading documents in file server path. now, i am uploading all the documents as pdf and in past days i have uploaded document as image. Now and…
Visual Studio 2022 generates virus?
I was just now following a tutorial and asked to run my code. The execution failed because it did not have access to the file, and my virus scanner then reported the file had been quarantined as it detected Gen:Variant.Cerbu.123013 Anyone else…
How to replace OperationContext in new V12 SDK Azure.Storage.Blobs
I'm switching from Microsoft.WindowsAzure.Storage to Azure.Storage.Blobs. In the former versions I could log retries, this seems to be missing in the new SDK. I used OperationContext for this: var context = new OperationContext(); …
Mitigation for Dll hijacking
Hello Team, I found dll injection in c#, .net and c++thick client applications. But to perform dll here I needed admin access. in this case I had admin access. So what will be the standard mitigation to prevent dll injection after even get the admin…
login.microsoftonline refused to connect from iframe
Hi All, I have an enterprise application integrated with Azure AD using SAML SSO. Also, all the users in the tenant has MFA and SSPR enabled with few users yet to configure their SSPR. Architecture of application: Enterprise app is similar to an…
exeがwindows defenderに検疫される
exeを作成して 複数のユーザーからダウンロードをするのですが、 その時に、exeがwindows defenferに引っ掛かり検疫されたり、されなかったりするのですが その違いは何でしょうか。 ちなみに、構成としては インストーラexe(←デジタル署名あり ├本体.exe(←デジタル署名なし └dll等 また、「本体.exe」にデジタル署名を付与すれば 上記の問題は解決するのでしょうか。 ご教授いただければ幸いです。
My listview is listing only the id instead of 3 items on the table
PLEASE HELP ME I am working on sqlite database , i have the following code in c# maui return (await conn.Table