The WindowState property gets or sets the state of the Host File Transfer window.
object.WindowState
object.WindowState = Value