Page 1 of 1

CRC Check

Posted: Fri Apr 05, 2013 6:46 am
by Tsukasa
How do I use CRC checking instead of looking at datetime through the api?

This work's if I set it in the client and then use my application but I would like to make sure this option is set through my application.

I've seen a post where you can set this at VaultClientFile but I'm checking in an entire directory and don't feel I should have to pass that to VaultClientFile first and then checkin all of the files.

My directories contain 3,000+ files so the directory checkin seems like the better option.

Re: CRC Check

Posted: Fri Apr 05, 2013 9:11 am
by jclausius
If your code is currently logged in, you should have access to the Client Instance and UserOptions.

Try calling ClientInstance.UserOptions.SetOption(VaultOptions.DetectModifiedFilesWithCRCs, "True").
And then call ClientInstance.UpdateWorkingFolderOptionsFromUserOptions() to force those options on your working folders.

Assuming this goes along with your next post, hopefully those xml files w/ the same contents, but different timestamps are now longer listed as edited.