Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remote Directory Information

Remote Directory Information

Scheduled Pinned Locked Moved C#
csharphelptutorialquestioncareer
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi all, I saw lots of example by using Directory, DirectoryInfo classes to retrieve local directory information. Can I use the same classes to retrieve remote directory information? If yes, how? If not, what C# classes can do the job? I really appreciate your help! Thanks!

    N L D 3 Replies Last reply
    0
    • L Lost User

      Hi all, I saw lots of example by using Directory, DirectoryInfo classes to retrieve local directory information. Can I use the same classes to retrieve remote directory information? If yes, how? If not, what C# classes can do the job? I really appreciate your help! Thanks!

      N Offline
      N Offline
      Nnamdi Onyeyiri
      wrote on last edited by
      #2

      i too have thougt about this once. I think i found that you cant do this. *IDEA* maybe you you send a WebRequest to the folder, and analyse the header sent back, i have no idea if this will work, but its worth a shot. :)


      :suss: Email: theeclypse@hotmail.com   URL: http://www.onyeyiri.co.uk
      :suss:"All programmers are playwrights and all computers are lousy actors."

      1 Reply Last reply
      0
      • L Lost User

        Hi all, I saw lots of example by using Directory, DirectoryInfo classes to retrieve local directory information. Can I use the same classes to retrieve remote directory information? If yes, how? If not, what C# classes can do the job? I really appreciate your help! Thanks!

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        You could try map a drive or use the UNC name ( \\server\share ). Havent tried it, but i cant see why it should not work. MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

        1 Reply Last reply
        0
        • L Lost User

          Hi all, I saw lots of example by using Directory, DirectoryInfo classes to retrieve local directory information. Can I use the same classes to retrieve remote directory information? If yes, how? If not, what C# classes can do the job? I really appreciate your help! Thanks!

          D Offline
          D Offline
          D Shen
          wrote on last edited by
          #4

          I will give them a shot,guys!! Thanks!:laugh:

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups