Licenses on Search

Topics: Developer Forum
May 15, 2013 at 3:17 PM
I've set up the options with License restrictions:
options.Licenses.Add(LicenseType.AttributionCC);
            options.Licenses.Add(LicenseType.NoKnownCopyrightRestrictions);
            options.Licenses.Add(LicenseType.AttributionShareAlikeCC);
            options.Licenses.Add(LicenseType.AttributionNoDerivativesCC);
but it's returning all pics with All Rights Reserved. How do I select particular license types for searching?
Coordinator
May 16, 2013 at 7:23 AM
I suspect you are not asking for the license to be returned.

Try the following:
options.Extras |= PhotoSearchExtras.License;
Sam
May 16, 2013 at 11:17 AM
Thanks Sam,

Forgot to update this ticket, but that's exactly what the problem was.

Cheers,

Chris