• Upgrade your Internet Experience
  • Sign in
  • Microsoft.com
  • United States (English)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
.NET Framework Developer Center
 
 
Home
 
 
Library
 
 
Learn
 
 
Downloads
 
 
Support
 
 
Community
 
 
Forums
 
 
 
.NET Framework Developer Center > .NET Development Forums > .NET Framework Networking and Communication > [C#]Browsing remote directory
Ask a questionAsk a question
Search Forums:
  • Search .NET Framework Networking and Communication Forum Search .NET Framework Networking and Communication Forum
  • Search All .NET Development Forums Search All .NET Development Forums
  • Search All MSDN Forums Search All MSDN Forums
 

Question[C#]Browsing remote directory

  • Friday, May 11, 2007 3:07 PMRaoul_BennetH Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Hi all Smile

    My question is simple:

    There is a server with some shared folders for some user, for ex.:

    \\192.168.1.12\shared_folder\

    From a c# application, i would like to be able to browse that remote directory.

    Any help?


    Many thx in advance Smile

    RaouL.
    • ReplyReply
    • QuoteQuote
     

All Replies

  • Friday, May 11, 2007 3:49 PMRaoul_BennetH Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    At this time i've solved as follow:

    OpenFileDialog of = new OpenFileDialog();
    of.InitialDirectory = @"\\MyServer\sharedDirectory";
    • ReplyReply
    • QuoteQuote
     
Need Help with Forums? (FAQ)
 
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement