Upload
Component for uploading files in Universal Apps.
Uploading a File
New-UDUpload -OnUpload {
Show-UDToast $Body
} -Text 'Upload'{
data: "base64 encoded string of data",
name: "file name of the file uploaded",
type: "file type as determined by the browser"
}public class Upload
{
public string Name { get; set; }
public string FileName { get; set; }
public DateTime TimeStamp { get; set; }
public string ContentType { get; set; }
public string Type => ContentType;
}Uploading a File with a Form
Example: Uploading a file and save to it the temp directory
API
Last updated
Was this helpful?