Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7062445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:35:41+00:00 2026-05-28T04:35:41+00:00

I am using Directory.Exists(uncPath) with a UNC path, now it fails if I use

  • 0

I am using Directory.Exists(uncPath) with a UNC path, now it fails if I use the standard IPv6 address. Is there code available which can take care of all formats of unc – ipv4/ipv6/machiname.

Currently I convert my ipv6 address to something like 2001-0-234-c1ab-0-a0-aabc-3e.ipv6-literal.net and it works, but Ipv6 itself can be represented in multiple formats. I need something which will handle all formats.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:35:42+00:00Added an answer on May 28, 2026 at 4:35 am

    The ipv6-literal.net notation is the only way to use an IPv6 UNC on windows.

    You need to take your IPv6 litteral & replace : with -, % with s and append ipv6-literal.net.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following foreach-loop: using System.IO; //... if (Directory.Exists(path)) { foreach(string strFile in Directory.GetFiles(path,
How to check if a folder (directory) exists in Cocoa using Objective-C?
how can I save all files in a directory using utf-8? There is a
I have the following code: DirectoryInfo directory = new DirectoryInfo(@"C:\Program Files\Company\Product"); if (!directory.Exists) {
How do I check whether a directory exists using C++ and windows API?
Using ANT , how can i make sure that directory exists before attempting to
How can I synchronously check, using node.js , if a file or directory exists?
How can I synchronously check, using node.js , if a file or directory exists?
To see if a file exists before using it, we can use: if (-e
I'm using opendir function to check if a directory exists. The problem is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.