lib/symboliclinksupport/SymbolicLinkSupport/FileInfoExtensions.cs
/// <summary>
/// Returns the full path to the target of this symbolic link.
/// </summary>
/// <param name="it">The symbolic link in question.</param>
/// <returns>The path to the target of the symbolic link.</returns>
/// <exception cref="System.ArgumentException">If the file in question is not a symbolic link.</exception>
Returns the full path to the target of this symbolic link.
Returns the full path to the target of this symbolic link .
public static string GetSymbolicLinkTarget(this FileInfo it)
        {
            if (!it.IsSymbolicLink())
                throw new ArgumentException("file specified is not a symbolic link.");
            return SymbolicLink.GetTarget(it.FullName);
        }
public static string GetSymbolicLinkTarget ( this FileInfo it ) { if ( ! it . IsSymbolicLink ( ) ) throw new ArgumentException ( " " ) ; return SymbolicLink . GetTarget ( it . FullName ) ; }
Returns the full path to the target of this symbolic link.
Returns the full path to the target of this symbolic link .
The path to the target of the symbolic link.
The path to the target of the symbolic link .
If the file in question is not a symbolic link.
If the file in question is not a symbolic link .
FileInfo
this
it
The symbolic link in question.
The symbolic link in question .