I created a C# desktop application to generate XML File and save XML file to Clipboard, now I need to read Clipboard using Asp.Net Core 3.0.1, How can I read Clipboard data using Asp.Net Core 3.0.1?
This is the code that i used to generate XML and copy XML data to the Clipboard
var serializer = new XmlSerializer(typeof(CardData));
FileStream fs;
fs = File.Create(FilePath);
serializer.Serialize(fs, cardData);
fs.Close();
var Data = File.ReadAllText(FilePath);
Clipboard.SetText(Data);
And this is some resources I search:
1. https://www.codeproject.com/Articles/1265249/Read-Emirates-ID-in-a-Web-Application
2. .Net Core - copy to clipboard?
3. https://code-examples.net/en/q/2a284cc