## License::SetLicense(const System::SharedPtr\\&) method Licenses the component. ```cpp void Aspose::Words::License::SetLicense(const System::SharedPtr &st......System::IO::File::OpenRead(System::IO::Path::Combine(get_LicenseDir(), testLicenseFileName));...licenseFileName = System::IO::Path::Combine(get_LicenseDir(), testLicenseFileName);...