TscFileStorage Refresh needed?

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
kaffeburk
Posts: 212
Joined: Mon 29 Jan 2007 08:03

TscFileStorage Refresh needed?

Post by kaffeburk » Thu 17 Oct 2019 12:39

Hello Devart,

Run in to a small problem when i work with TscFileStorage. If i add a sshkey-file to the storage and then manually delete that file. Then when i try to add it back (during same session) i get eSCerror "object name duplicated" .

The TscFileStorage keeps it in some cashe and don't verify that the file still is there. Fine. But is there some way i can force the TscFileStorage to recheck, empty the cashe or in any other way make sure that all keys still exist as files?

Regards,

kaffeburk
Posts: 212
Joined: Mon 29 Jan 2007 08:03

Re: TscFileStorage Refresh needed?

Post by kaffeburk » Thu 17 Oct 2019 12:46

Yes there is:

KeyStorage.Keys.Refresh;

So i let it stay if someone else get the same question...

Regards,

ViktorV
Devart Team
Posts: 2870
Joined: Wed 30 Jul 2014 07:16

Re: TscFileStorage Refresh needed?

Post by ViktorV » Thu 17 Oct 2019 13:21

Thank you for the interest to our product.
We are glad to know you have found the answer.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.

Post Reply