1 |
originally posted 2015-02-05 |
1 2 3 4 5 6 |
//determines if a path is a UNC path [DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] [ResourceExposure(ResourceScope.None)] [return: MarshalAsAttribute(UnmanagedType.Bool)] public static extern bool PathIsUNC( [MarshalAsAttribute(UnmanagedType.LPWStr), In] string pszPath); |