File in use after EncryptFile

13 views
Skip to first unread message

Don Wilcox

unread,
Dec 21, 2012, 4:50:03 PM12/21/12
to DidiSoft Forum
Hello,

I am working with the trial download of the .NET library. After
calling EncryptFile, the file remains in use for a short period of
time. Is this the expected behavior?

Thank you,

DidiSoft Forum

unread,
Dec 22, 2012, 1:44:18 AM12/22/12
to didisof...@googlegroups.com
Hi Don,

I have revised the cleanup code and in all cases we are releasing the created file streams with
Stream.Close();

In the WinRT version (on which we are currently working on) they are closed with Dispose(),
but for the standard .NET version according to the .NET documentation Close() should be sufficient.

Is it possible for you to paste a code snippet that demonstrates this delay in releasing a file.

Kind Regards
Peter Kalef
DidiSoft Ltd.
Toll free USA and Canada: 866 253 7568
International 1: (+44) 186-552-1172
International 2: (+359) 895-629-405
Web: www.didisoft.com
Reply all
Reply to author
Forward
0 new messages