volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Saving to UnifiedFile Summary properties

Hi there, I'm saving a file to the UnifiedFileSystem as outlined in SDK. I'd like to add some data to the file meta-data, but whatever I add seems to not be saved. UnifiedDirectory dir = UnifiedFileSystem.GetDirectory("/upload"); UnifiedFile file = dir.CreateFile("Myfile.txt"); file.Summary.Author = "Test"; Stream s = file.OpenWrite(); StreamWriter w = new StreamWriter(s); w.WriteLine("Hello world!"); w.Close(); s.Close(); Should i be doing this some other way? Regards, Ben Empson
#12569
Mar 30, 2006 19:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.