Click or drag to resize
ClientConfiguration Methods

The ClientConfiguration type exposes the following members.

Methods
  NameDescription
Public methodClone
获取该实例的拷贝。
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodSetCustomEpochTicks

设置自定义基准时间。

由于OSS的token校验是时间相关的,可能会因为终端系统时间不准导致无法访问OSS服务。 通过该接口设置自定义Epoch秒数,SDK计算出本机当前时间与自定义时间的差值,之后的 每次请求时间均加上该差值,以达到时间校验的目的。

Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Top
See Also