Category "c++sharp"

C# -EWS - Setting custom properties on Exchange service for Outlook email

I would like to save a boolean property on an email. If user clicked on my addin button, i'd like to mark selected email as treated. Using UserProperties of Mai

How to scale a Bezier Curves t value while keeping its initial and final derivatives the same?

there are a lot of answers for scaling a bezier curve's position, but i want to scale its t value. I have found a solution for this, but the problem is once i s

Verifying Qb notification signature in C#

I am trying to verify signature , I received from QB notification but always failing. Below is my function I made public static bool ValidateRequest(Dictionary

Blazor Server cookie authentication with custom AuthenticationScheme

I'm trying to build custom cookie authentication in my Blazor Server app. It works as long as I use the DefaultAuthenticateScheme like this: builder.Services.Ad

What will happen to custom controls and Renderers in .net maui?

In my Current Xamarin.Forms projects I have created many Renderers for different requirements. Now in September maui is coming and we have to migrate our projec

Access Unity Log Stacktrace when highlighting a Log?

When I select any item from the console Log, is there any way to get access to the information is displaying? I'm interested in accessing the information as a s

Set 'Local Group Policy Editor' settings from code

Some things are set through the Local Group Policy Editor. Is there a way to set them in code? If not, is there a way through the command line (and therefore I

Fast update Android notification

I write simple audio player for Android. I wrote basic functional and now I want create notification for control audio player. I use Android classes Service and

Select ListViewItem when child element has focus UWP

I'm writing a Universal Windows App and I have a ListView where the ListViewItems contain a TextBox and a Button. When I click in the text box I would like that

AWS Annotations Framework Input Parameters for C#

I'm having trouble getting a Lambda function written using the AWS Annotations Framework to accept input parameters. This is the article I'm using: https://aws.

Obtaining access to Graph API without user interaction

I'm new to graph API. I'm creating an app that can access user email using Graph API. I've been using the device token method which is used here. The above code

Visual Studio does not clear error list cache of NewtonSoft JSON errors?

Visual Studio does not consider changes. Initially, I had a few libraries not properly set. Therefore, there were compile time errors. Then I added missing DLLs

How to Go To Source Code Definition (not Metadata) from C# to F# in Visual Studio?

I have a small C# Console Application that has a F# Project Reference. using System; namespace ConsoleApp1 { class Program { static void Main(s

C# map a list of abstract class objects to derived class for method overloading

I am in a situation where I am iterating a List<Animal> and want a Handler class to handle each element according to its derived type. The way I'm doing i

Specify example requests for swagger's "Try it out"

Is there a way to specify example requests for swagger? Maybe even multiple ones? The Try it out button shows only generic values like: { "firstName": "s

How to create Numeric UpDown in UWP? [closed]

I am creating a derived class of TextBox for numeric data entry. I would like to add 2 buttons at the right side, like the X button in some Te

Could not load file or assembly. The located assembly's manifest definition does not match the assembly reference

I am trying to add one of the google vision API feature in the blue prism but I am getting the error "Internal: Could not execute code stage because an exce

Allowing two projects to inherit from the same bond

Using Microsoft Bond in a C# project. Suppose I had a Bond file A used in one project A', and wanted to have two projects B' and C' have Bond files B and C bot

How to use GetAsyncKeyState in C#?

I want to know how to use it....I want to say that if I Click Up and Right Arrow (Form1_KeyDown Event) then timer1.Start(); and When I release the Up and Right

How to create one PredictEnginePool which serves multiple models?

My project is an online foods order app, the key feature of this app is the "Daily nutrients intake monitor". This monitor shows the differences of daily intake