ARCed.Helpers.FileAssociator.ToShortPathName C# (CSharp) 메소드

ToShortPathName() 개인적인 정적인 메소드

Return short path format of a file name
private static ToShortPathName ( string longName ) : string
longName string Long name of file
리턴 string
        private static string ToShortPathName(string longName)
        {
            var s = new StringBuilder(1000);
            var iSize = (uint)s.Capacity;
            NativeMethods.GetShortPathName(longName, s, iSize);
            return s.ToString();
        }