License Manager
This code is a license manager that allows a user to activate a license key for a software product. The user can select an activation request file, which contains their username and password. The code will then generate a license key using the provided…
Developer technologies | C#
How to Set Up a Computer-Specific Term Licensing System Structure with C#?
Hello, I am developing a software with C# and I want to license users for 1, 2 or 3 years specific to their computers. I want to control the licensing period information by associating it with an ID specific to the user computer and using an encrypted…
Developer technologies | C#
Function Extension
Hi Michel, TryCreateForInput method assume that the gisInputFilePath is a file: a single file or an archive file. I need to handle also case for folder with extension .gdb. What is the best practice to do it ? Thanks in advance, ///…
Developer technologies | C#
The process cannot access the file because it is being used by another process
Hi Michel, I run console app in .NET 9 that has reference to netstandard2.1 class library. The console run in sequence series of commands (input of .KMZ file) in class library. The first running is passed bot for all others I got" "The…
Developer technologies | C#
GisConverter -ORG Format Double Conversion
Current: We used GIS Converter to our "CDR" system, which detects viruses. We have already implemented the ORG Format . ORG Format - convert from the source format to itself. Problem: When we convert from source format to target format and…
Developer technologies | C#
How do I access Microsoft programming documentation
I used to be able to access detailed information on Microsoft MSDN. Now, when I try the same approach, it supplies answers like "How to create a new WPF App" and "How to create a database in ,Net framework Apps". My question had…
Developer technologies | C#
How to secure both Blazer server and api ?
Hello, I need an advice. I'd like to secure a blazor server app with individual user account. This functionality is embedded with the basic setup, and use cookies. But I also need to protect my web api with the same way. I know about the JWT, but I…
Developer technologies | C#
LINQ returns System.Data.SqlTypes.SqlNullValueException. Why?
I'm learning LINQ, and trying to fetch data from a SQL Server database. All I'm trying to do is fetch data from one datetime field that is defined as nullable, where I know the field value is set to null. Here's my statement: var query = from cm in…
Developer technologies | C#
About a rare issue in a WPF‑based login screen where the Enter key appears to be continuously pressed
I am creating a login screen for an application using WPF. The login screen contains text boxes for entering a login ID and password. When the Enter key is pressed while there is input in either the login ID or password text box, the login button is…
Developer technologies | C#
Issue to scan the file
Hi, It is not scanning all of the lines of the file using the codes below on VS 2026. Anything wrong? try { string[] fileEntries = Directory.GetFiles(directoryPath); foreach (string fileName in fileEntries) …
Developer technologies | C#
CollectionView display messages backwards
I'm trying to create a replicate of WhatsApp in .NET 10 MAUI. I have the list of messages: the newest one at the bottom of the list and the old at the top. For this implementation, I use a…
Developer technologies | C#
How do I get the bins from a purchase order line item from the Business Central APIs?
I have a C# app that calls Business Central APIs. I can use https://api.businesscentral.dynamics.com/v2.0/{{tenantId}}/Sandbox/api/v2.0/companies({{company_id}})/purchaseOrders({{PO}})/purchaseOrderLines?$expand=location to get more data about the…
Developer technologies | C#
Flex Consumption Option Set binding not working
In this instance its causing issues where our Service Bus Triggers are no longer being hit. Removing the __ reference and referencing an app setting that does not have a prefix works fine. [Function(nameof(ProcessInputtedMessage))] public async…
Developer technologies | C#
Visual Studio 2022 Git: Cannot fetch from remote repository (Git Bash works fine), How to fix this?
I am experiencing an issue where Visual Studio 2022 cannot fetch from a Git remote repository, but Git Bash works correctly using the same repository and credentials. Visual Studio shows: Failed to fetch from the remote repository. See the Output window…
Developer technologies | C#
Issue to show the error
Hi, For the code like the project below https://1drv.ms/u/c/17ec75244bac022f/IQDe24zzJVnTS65tU-RbGuKoAaMtx1mPtvJWgmXlcYO-HdE?e=8NpGwO is not able to show the error for this file. Any…
Developer technologies | C#
How to generate PDF with Multilevel list with hierarchical numbering in C# application
Hi, I am new to C#, I am creating a small application, and I need to generate some PDF reports from C# application programmatically. Most of the reports will be Word-like multilevel lists with hierarchical numbering (these numbers have to be calculated…
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
Recommend a free PDF developer's library for C#
I'm using VS 2017 CE, C#, and WinForms on a non-commercial application that adds and deletes pages from PDFs. The added pages are created with minimal text and no drawing or graphics. I've been using iText7, and it's great, but it has far more power…
Developer technologies | Windows Forms
Developer technologies | C#
Can anyone recomend the easiest tool to generate pdfs in c#?
I am trying to generate a PDF from C# Library for my project. Any tools you guys can suggest would be great, either Free or Paid. I am open to any options. Thank you!
Developer technologies | C#
Cannot view forms in design mode after rebuilding the project
ERROR: Designer load encountered an error. Please ensure that the project can be built successfully. Tried ---> Built , Clean, rebuild Result -> Still cannot view the form in design mode. Plus, already rebuilt this prokect today ... #annoyed ! …
Developer technologies | C#
Refused to apply style from <URL> because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled
HI Team, I'm trying to to bundling CSS files after minification. My application is ASP.net Core 4.5 not MVC. I have created bungleconfig class file and written below code public class bundleconfig { // For more information on bundling, visit…