Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
So, I am doing shared file functionality. Right now, I am successfully uploading the file to Azure, and then putting the link in an email address, but I have some problems
private async void ShareAction(FileItem file) {
AzureStorageService azureStorageService = new();
await azureStorageService.UploadToAzureBlobStorage(file.FilePath);
string link = $"https://transcribemedocs.blob.core.windows.net/cloudfilesshare/{Path.GetFileName(file.FilePath)}";
string subject = "Here is the link for your file";
var destinationurl = $"mailto:?subject={subject}&body={link}%0D";
var sInfo = new ProcessStartInfo(destinationurl) {
UseShellExecute = true,
};
Process.Start(sInfo);
try something like this
var destinationurl = $"mailto:?subject={subject}&body=<a href='{link}%0D'>your file</a>";