c# - Access Network Drive That is Marked Red Rather than Green Before Running a Process That Accesses a File on The Network Drive -


i've written application accesses , reads file on network drive. if end-user has booted computer , logged vpn network drive shows red mark rather green mark. prior clicking button run process end-user must first open network drive. if end-user doesn't manually access network drive prior clicking button application throws exception drive cannot accessed.

how can use c# winforms programmatically access network drive prior running process?

instead of using "f:\path\file" use "\server\drive_name\path\file"


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -