By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

SetSaveLicenseKey's actual purpose

P: n/a
Nak
Hi there,

I'm slightly confused regarding the purpose of this method
"SetSaveLicenseKey" which is part of the LicenseContext object.

I had first presumed that it was used to "cache" a license that had been
granted so that the next time a license was needed the license provider
didn't need to run through the whole validation process again.

Now I think maybe that it is meant for some other purpose. According to
the following URL

http://support.microsoft.com/default...FWCT061202.asp

"Also, because we're in design-time mode, I need to make a call to
SetSaveLicenseKey, which is a method off of the context object. This is an
important step to ensure that the license is embedded into our executable at
build time. So it's important that you make that call."

Now that *is* very confusing as it raises the question as to whether or
not the entire LicenseProvider class is fast enough for licensing objects
that are created in their hundreds, possibly thousands.

Unless of course the saved license should be kept in the LicenseProvider
itself?? Is this the case?

It looks like I have a whole lot of re-designing to do now. Which is a
bit of a bu55er! But any advice on the above would be most appreciated!

Nick.
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.