c# AD computer account DN
<p>How i can get AD computer account DN in c# using principal  </p>

<pre><code>public string GetcomputerExtededProperty(string fieldName)
    {
        try
        {
            ComputerPrincipal oGroupPrincipal = GetComputer();
            return GetProperty((DirectoryEntry)oGroupPrincipal.GetUnderlyingObject(), fieldName);

        }
        catch
        {
            return "";
        }
    } 
</code></pre>
