How can I hide the API calls that a c# app makes? - c#

I want to hide Api calls which is used in my c# program from the programs like API Monitor. (Windows)
whether packers can do this?
I search about this alot but i cant find any thing that can help .
Thanks in advance .

Probably the only thing that will hide this sort of thing is an obfuscator...

You basically bake VPN code into your app.
Make a connection to anywhere in your country, perhaps a list that your code picks one at random each time the app is loaded.
Then when the app makes the calls there all encrypted by the vpn.
For a website you can use Azure or AWS with something like Cloudflare.

Related

Start Teams call from c#

I'm looking for a way to start a Teams call from within my own custom application.
Our application has a whole bunch of phone numbers for Customers/Suppliers/... and I want to give my users the option to initiate a call just by clicking a button in the application.
Does anybody have a good sample on how to do this?
I know that in the past, this was fairly easy to do with Skype and Lync. They just had an SDK you could call from your own application.
But when I try to look for the same thing in Teams I always end up in documentation around bots. And it's a bit confusing if you're new to that part :-)
So main question is, how can I start a phone call with Teams from my own code? Phone calls to an actual phone number, not a Teams account.
There's no such API available to create a call. However you can have deep link to make a call. Follow this doc to understand Deep linking to an audio or audio-video call
To make a call to combination of VoIP and PSTN users https://teams.microsoft.com/l/call/0/0?users=<user1>,4:<phonenumber>
To make an audio call you can do -
https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>
To make a video call you can do - https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>&withVideo=true
User ID field supports the Azure AD UserPrincipalName, typically an email address, or in case of a PSTN call, it supports a pstn mri 4:.
It will not directly going to start the call. Instead showing a pop-up as below -

Communicate between local applications/Notify Running application

I have a C# Console Application which communicates trough its Input and Output with another application. This isn't a thing that can be changed so thats the given part of the problem.
The other part is that I need a way to communicate with this Console Application. Google says WCF, REST and stuff like that but this to me seams a little bit overkill cause I only need to communicate locally to the Console Application.
I also tought of communicating trough a file with that application but than I would have to check the file in an interval for changes right? Also I'm not sure if this is performance wise the best solution? Also i would have a delay, befor the notification happens depending on the interval.
So what would be a neat way to communicate between to local applications?
To achieve this use need to implement socket communication in your application. Below link will give you an idea on how sockets works in c#
http://csharp.net-informations.com/communications/csharp-socket-programming.htm

How does Battlelog Game Manager work?

I know that it uses a plugin but how does it work in Chrome etc? I can't explain it lol.
Basically I need something very similar to that but for one of my applications. So I have a website and when they visit a certain page I need it to send a function to the plugin I will be making and return some data. I have no clue how I should begin doing anything like this and was wondering if anyone here has any idea?
------------EDIT-------------
To make the question a bit easier is how can I go about creating a plugin for chrome which will allow me to run a application on the user computers like what Battlelog does.

take a photo using webcam with C#

I want to take a photo using a webcam from my application. How do I accomplish that? My application is developed in C# and to make a visitor's pass, I want to take a photo of the particular visitor when he enters the company building.
Try out jQuery Webcam
I am struggling to get the save function to work, but its a start.
Webcams all use a different API. Find the API that your webcam supports...let me know, and I will happily talk you through how to do it.
I assume that you are talking WinForms?
You are going to need some kind of trusted client side code, if you want to do this. Java, Flash, SilverLight are all possibilities. But they may create a dependency on a particular WebCam/Software/API.
You'd be much better off configuring your web cam to put its photos in a single place and have a web form that accepts a file upload.
This way when your web cam breaks and you can't get the exact same device you don't have to recode.

how to start with windows API in .net

I want to work on windows API. I have an interest in creating network application that can communicate with web as well. I haven't thought any application yet. But before doing all this . I want to know where to start with. What all I need to start reading.
I have created lot of database interactive applications with window forms. But would like to start with this.
If you want to use Windows API methods from .Net, you'll need to use PInvoke to call them. There's a site called pinvoke.net that has samples for how you call many of the APIs so if you know which API you want to call, that's usually the best place to start.
For your use case maybe you dont need API at all. You could use the FileSystemWatcher .net class to react on any changes in a log folder e.g. It reacts on modify/add/delete of files.

Categories

Resources