Nexus.Client.Util.FileUtil.IsDrivePath C# (CSharp) 메소드

IsDrivePath() 공개 정적인 메소드

Determines whether or not the given path represents a drive.
public static IsDrivePath ( string p_strPath ) : bool
p_strPath string The path for which it is to be determine whether it represents a drive.
리턴 bool
		public static bool IsDrivePath(string p_strPath)
		{
			return p_strPath.Trim(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar).EndsWith(Path.VolumeSeparatorChar.ToString(), StringComparison.OrdinalIgnoreCase);
		}