ServerLicenseManager - конструктор
Объект, предоставляющий доступ к лицензии на сервере.
Пространство имён: Tessa.Platform.LicensingСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public ServerLicenseManager(
ISignatureProvider cryptoProvider,
ILicenseContainerProvider containerProvider,
ILicenseRevocationChecker revocationChecker,
Func<LicenseStreamInfo?>? getLicenseInfoFunc = null
)
Public Sub New (
cryptoProvider As ISignatureProvider,
containerProvider As ILicenseContainerProvider,
revocationChecker As ILicenseRevocationChecker,
Optional getLicenseInfoFunc As Func(Of LicenseStreamInfo?) = Nothing
)
public:
ServerLicenseManager(
ISignatureProvider^ cryptoProvider,
ILicenseContainerProvider^ containerProvider,
ILicenseRevocationChecker^ revocationChecker,
Func<Nullable<LicenseStreamInfo>>^ getLicenseInfoFunc = nullptr
)
new :
cryptoProvider : ISignatureProvider *
containerProvider : ILicenseContainerProvider *
revocationChecker : ILicenseRevocationChecker *
?getLicenseInfoFunc : Func<Nullable<LicenseStreamInfo>>
(* Defaults:
let _getLicenseInfoFunc = defaultArg getLicenseInfoFunc null
*)
-> ServerLicenseManager
Параметры
- cryptoProvider ISignatureProvider
- Объект, предоставляющий криптографические средства для управления лицензиями.
- containerProvider ILicenseContainerProvider
- revocationChecker ILicenseRevocationChecker
Объект, выполняющий проверку лицензии по спискам отзыва.
- getLicenseInfoFunc FuncNullableLicenseStreamInfo (Optional)
-
Функция, возвращающая информацию для получения файла лицензии или null, если файл лицензии отсутствует.