I want to know if there's a way or known way to implement this:
Lets say I have:
- a C# WinForms program
- a Javascript Mobile Application (Android / iOS)
What I want to do is:
- for my C# application to show a one-time use (disposable) code or token.
- The user enters the code or token in the mobile app
- The code is no longer available for use and the c# application and mobile application are linked for file exchange (.jpg, .docx, etc)
- Once the session between the two ended, a new code or token is generated.
Is there any existing approach for this? If not, how would be the best way to implement this?