method

LicenseCore::SetLicense(System::String, System::SharedPtr<System::Reflection::Assembly>, System::SharedPtr<Common::Generic::Types::Tup<LicenseErrors, System::DateTime, System::DateTime>>) method

Searches license, loads and tries to implement. The result of the implementation is set to errorCode

void Aspose::BarCode::LicenseCore::SetLicense(System::String licenseName, System::SharedPtr<System::Reflection::Assembly> clientAssembly, System::SharedPtr<Common::Generic::Types::Tup<LicenseErrors, System::DateTime, System::DateTime>> errorCode)
ParameterTypeDescription
licenseNameSystem::StringCan be a full or short file name or name of an embedded resource.
clientAssemblySystem::SharedPtr<System::Reflection::Assembly>calling assembly to find search path
errorCodeSystem::SharedPtr<Common::Generic::Types::Tup<LicenseErrors, System::DateTime, System::DateTime>>error code which stored licensing state and additional information for possible error message

See Also

LicenseCore::SetLicense(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Common::Generic::Types::Tup<LicenseErrors, System::DateTime, System::DateTime>>) method

Tries to implement the license. The result of the implementation is set to errorCode

void Aspose::BarCode::LicenseCore::SetLicense(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<Common::Generic::Types::Tup<LicenseErrors, System::DateTime, System::DateTime>> errorCode)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>stream with stored license
errorCodeSystem::SharedPtr<Common::Generic::Types::Tup<LicenseErrors, System::DateTime, System::DateTime>>error code which stored licensing state and additional information for possible error message

See Also