Java.Net.Socket.ShutdownInput Method
Closes the input stream of this socket.

Syntax

[Android.Runtime.Register("shutdownInput", "()V", "GetShutdownInputHandler")]
public virtual void ShutdownInput ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while closing the socket input stream.
Java.Net.SocketExceptionif the input stream is already closed.

Remarks

Closes the input stream of this socket. Any further data sent to this socket will be discarded. Reading from this socket after this method has been called will return the value EOF.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1