The LookupAccountName() native method has the advantage of being able to be executed on a remote machine whereas the .NET methods can't be executed remotely.
Though the example doesn't show it LookupAccountName(null) <- this is the remote system to execute on.