Starting from V5.4.23, the .NET SDK has been compatible with .NET Framework 4.0 and earlier versions. You can run it by adding the COSXML-Compatible.dll
library.
Note:
- Integration with NuGet might not be supported in compatible environments. For more information about the integration, see Adding Reference.
- All advanced APIs (e.g., advanced upload and checkpoint restart download) are not available in
COSXML-Compatible.dll
.
Currently, you can only add the .dll file manually as follows:
COSXML-Compatible.dll
at Releases.You can use it in the same way as the general .NET SDK, except that you need to note the following:
Namespace | Class | Description |
---|---|---|
COSXML.Transfer | COSXMLCopyTask | Advanced copy API |
COSXML.Transfer | COSXMLDownloadTask | Advanced download API |
COSXML.Transfer | COSXMLTask | Advanced API abstract class |
COSXML.Transfer | COSXMLUploadTask | Advanced upload API |
COSXML.Transfer | TransferManager | Transfer task control class |
The compatible package is still in the prerelease phase. If you encounter any other issues not listed above, please submit an issue on GitHub.
Apakah halaman ini membantu?