Category "c++sharp"

Why is calling SslStream.AuthenticateAsServer and SslStream.AuthenticateAsClient with the same certificate in the same process not supported?

I recently ran into an issue when converting socket communication to use System.Net.Security.SslStream instead of NetworkStream. This conversion was targeting

Selenium Webdriver test removes input on button click

I am running into an issue with my selenium webdriver test where, if I input something into a phone number field and then click the call button, it will clear o

Windows forms c# connect to specific accesspoint by BSSID

I have a windows form written in c#. I've made a listview that finds and sums up every wifi network it can detect, giving the SSID, BSSID, and more. I'm using M

How to send data from Child to Parent component in Blazor (when a list is clicked)

I have a simple component like this: @foreach(book in store) { <li @click="@SelectBook(@book.id)"> @book.title <li> <!-- book.id throws error

Maintain sorting throughout paging in gridview in asp.net

How to maintain sorting throughout paging in gridview in asp.net. Below is my code behind for binding grid, paging, and sorting private string SortDirection {

Async task getting value off of JSON return, XAML/WPF app

I am trying to get a single value off of a JSON return. My call is doing an HttpClient call to a webservice, it returns me my Json object. I need to now get a v

How to implement SAML SSO with AZURE AD in ASP.NET MVC Web Application

I create a simple .NET web application and I want to implement SAML SSO with Azure AD. I am using .NET version 4.8. I couldn't find any documentation to set up

How do I get JSON returned from a Playwright POST?

I have created a small Playwright program in C# which submits a Url, finds a button on the returned document, selects a button on that document and 'clicks' it.

Get array of elements from list that sum to value, using Parallel.ForEach (multiple threads)

I'm using the below code to get an array of elements from list that sum to value. However, it only using 1 CPU. My PC has 64 cores so I want to use 100% CPU to

How to populate an object inside of an object and call it whenever in C#

So I have an object (Location) This Location Object contains what is a Location I have also added another object that is a Venue on the last line. namespace En

I was watching a tutorial on unity but I came across these errors [duplicate]

everything is in unity If anyone can help me I am new This is the code for PlayerInput: https://pastebin.com/hWNPVmZJ

Error while introducing foreign key constraint

I'm getting an error while trying to EF database update. I have 2 entities, Flight and City: public class Flight : Entity<Guid> { public Airline Air

Need Example in C#: How To Add Custom Button to Outlook Context Menu

My customer wants to add a button (or menu item) to a right click (context) menu in Outlook 2016+. I've found examples that add items to the ribbon menu, but c

Need Example in C#: How To Add Custom Button to Outlook Context Menu

My customer wants to add a button (or menu item) to a right click (context) menu in Outlook 2016+. I've found examples that add items to the ribbon menu, but c

blazor how pass list of some type to EditorAttribute

im building some generic forms builder so im at the point where i can public class Model { [Editor(typeof(CustomIntEditor), typeof(InputBase<>))] publ

C# Aforge - image is not consistent, some images are very bright most of them not

I'm trying to get a consistent image with Aforge but sometimes the image is very bright, most of the time it is good. If you look at the pictures you can see a

How to draw a Physics.OverlapBox for debugging (been trying with OnDrawGizmos)?

So given the position, halfextents and rotation of a Physics.OverlapBox, how would I draw it on the screen for debugging. If my overlap box was always rotated t

Renci.SshNet.Common.SftpPermissionDeniedException: 'Permission denied'

I am new to SFTP. I am getting Renci.SshNet.Common.SftpPermissionDeniedException: 'Permission denied' error while uploading an image to the SFTP location from a

ASP.NET Core 6: How to intercept all incoming requests to call an external service

I am planning to build a micro frontend to intercept and handle all incoming requests just calling an external service that will render the html that the micro

Tuple return dynamic in c# while passing parameter as dynamic

As per the image showing CheckDynamic has two methods which has different return type but still allow to return from one to another and allowing to build. Shoul