CryptoStream.CanRead 属性

定义

获取一个值,该值指示当前的 CryptoStream 是否可读。Gets a value indicating whether the current CryptoStream is readable.

public:
 virtual property bool CanRead { bool get(); };
public override bool CanRead { get; }
member this.CanRead : bool
Public Overrides ReadOnly Property CanRead As Boolean

属性值

如果当前流可读,则为 true;否则为 falsetrue if the current stream is readable; otherwise, false.

适用于

另请参阅