C# Path Ellipsis without Win32 API call
- by Rezzie
I have a long path I'd like to shorten for displaying on a form using the ellipsis character(s?).
I know there is the PathCompactPathEx Win32 API call, but I know there is a built-in .NET equivalent. I have used it previously, but cannot find it any more. Any hints, please?