Category "c++sharp"

visual studio with c# SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080 error

I am getting this issue: No connection could be made because the target machine actively refused it 127.0.0.1:8080.I use Sikuli4net library but scrn.click dont

C# - Calculating HMAC from using params list, json body and a secretkey?

How do I do this? I'm lost. The header parameters: new KeyValuePair<string, string>("checkout-account", MerchantId), new KeyValuePair<string, string>

Why ConcurrentDictionary TryUpdate() method requires indicating oldValue?

When calling TryUpdate you should specify old value besides key, why is it required ? And additional question why TryUpdate method (and others similar) have whi

cppflow model loading hangs unity

I'm trying to load a tensorflow graph model using cppflow in c++. I am able to load the model when I define the model loading globally in a standalone applicait

Having trouble to run a program in C#

enter image description hereenter image description here I was trying to run a program on C#. Anyone know what the reason is and what the solution is?

ASP.NET Core - Entity Framework Core - Drop Down List - DbContext SaveChanges Issue

I'm new to using EF as well as ASP.NET Core. I'm working on a simple web application and I am getting an error when I go to save a new record. When the DbCont

c# - elsa workflow - child workflow - how to get workflowInstanceId of parent workflow

I have an elsa workflow parent which is calling some child workflows. Every child workflow has some custom activities (based on SendHttpRequest elsa activity).

c# how streamwrite output file and overwrite if file does not exist

namespace shush { public partial class Form1 : Form { private void btnFinish_Click(object sender, EventArgs e) {

Response with cached data, and how to refresh the cache form database, for a api application

Hi could someone guide me in the following problem, there must be tons of guides on this problem but for some reason I can't get google to find a nice how to, t

How to make program (c#, selenium) wait to periodically check if the 'if' condition is met

I intend to increment the counter by 1 when the url changes and return the final count, eg 10 if url changes 10 times. The program has to wait until the user cl

How to use a same Input action to trigger different events when used on different objects in UNITY?

I'm facing a small problem with the unity's New Input system. I'm trying to build a VR game that has floating buttons in the scene. I have used a gaze reticle f

WOPI Token - Secret Key

I'm trying to implement WOPI on my application but im having a hard time to find the secret key to generate a token see below image for the sample code from git

What is a NullReferenceException, and how do I fix it?

I have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object.

How can I match this pattern (characters a-z, numbers ) between two brackets?

I have this code , and I would like to match this pattern: All characters a-z , A-Z between two "" . The variables should be between square brackets. How can I

How to connect acs Acr1255u-j1 to xamarin forms

I am doing a project with the acr1255u-j1 and Xamarin forms , but I can't figure how to connect the device to the application . Any help would be appreciated

Why my program is not executing beyond await UploadAsync?

I am trying to upload a file through stream to azure file share. This is my function : public static async Task UploadFile(string shareName, Stream content, str

.NET API rejecting requests based on CORS even when configuration setup

I am trying to send a get request to a .NET API from a VueJS front end. I am getting the following error: Cross-Origin Request Blocked: The Same Origin Policy d

Cannot parse the data from CSV file if there is an enter key pressed between two words in same cell

I am trying to parse the csv file using the following code string[] EachColumnData = null; EachColumnData = line.Replace("\",\"", "|").Replace(",,", "||").Repl

How do I check if a tree object is really close to another in unity?

I have been making a survival game in unity and I have generated the trees with the below function The GenerateTree function void GenerateTree(int x, int y)

Queuing async tasks and passing back result to caller

In my app I have a single Client class responsible to do communication via TCP/IP and I have several async Processes posting "work" to the Client class. What I