© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
2 replies
TotechsStrypper

storageFile.CopyAsync break being used by another process

Hi I use the
 var copiedStorageFile = await storageFile.CopyAsync(ApplicationData.Current.TemporaryFolder, storageFile.Name, NameCollisionOption.ReplaceExisting);
 var copiedStorageFile = await storageFile.CopyAsync(ApplicationData.Current.TemporaryFolder, storageFile.Name, NameCollisionOption.ReplaceExisting);

to copy the image for cropping process
when I use it again I tell me that the folder is being used by other process
Is there a way to force all process close when I do this ?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cannot access file because it's being used by another process
C#CC# / help
3y ago
❔ "cant open file due to it being used by another process"
C#CC# / help
3y ago
How to overwrite a file that is used by another process?
C#CC# / help
12mo ago