1. <legend id='OVKKS'><style id='OVKKS'><dir id='OVKKS'><q id='OVKKS'></q></dir></style></legend>
    <tfoot id='OVKKS'></tfoot>
  2. <small id='OVKKS'></small><noframes id='OVKKS'>

    <i id='OVKKS'><tr id='OVKKS'><dt id='OVKKS'><q id='OVKKS'><span id='OVKKS'><b id='OVKKS'><form id='OVKKS'><ins id='OVKKS'></ins><ul id='OVKKS'></ul><sub id='OVKKS'></sub></form><legend id='OVKKS'></legend><bdo id='OVKKS'><pre id='OVKKS'><center id='OVKKS'></center></pre></bdo></b><th id='OVKKS'></th></span></q></dt></tr></i><div id='OVKKS'><tfoot id='OVKKS'></tfoot><dl id='OVKKS'><fieldset id='OVKKS'></fieldset></dl></div>

        <bdo id='OVKKS'></bdo><ul id='OVKKS'></ul>
    1. 如何以编程方式确定 Windows 计算机是否是域的成员?

      时间:2023-10-17

      1. <legend id='tWWy0'><style id='tWWy0'><dir id='tWWy0'><q id='tWWy0'></q></dir></style></legend>
            <bdo id='tWWy0'></bdo><ul id='tWWy0'></ul>

              <tbody id='tWWy0'></tbody>
          • <tfoot id='tWWy0'></tfoot>

            <small id='tWWy0'></small><noframes id='tWWy0'>

            1. <i id='tWWy0'><tr id='tWWy0'><dt id='tWWy0'><q id='tWWy0'><span id='tWWy0'><b id='tWWy0'><form id='tWWy0'><ins id='tWWy0'></ins><ul id='tWWy0'></ul><sub id='tWWy0'></sub></form><legend id='tWWy0'></legend><bdo id='tWWy0'><pre id='tWWy0'><center id='tWWy0'></center></pre></bdo></b><th id='tWWy0'></th></span></q></dt></tr></i><div id='tWWy0'><tfoot id='tWWy0'></tfoot><dl id='tWWy0'><fieldset id='tWWy0'></fieldset></dl></div>
                本文介绍了如何以编程方式确定 Windows 计算机是否是域的成员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我需要一种方法来确定运行我的程序的计算机是否加入了任何域.它属于哪个特定域并不重要,重要的是它是否连接到任何东西.我正在 vc++ 中针对 Win32 API 进行编码.

                I need a way to determine whether the computer running my program is joined to any domain. It doesn't matter what specific domain it is part of, just whether it is connected to anything. I'm coding in vc++ against the Win32 API.

                推荐答案

                直接来自微软:

                如何确定 Windows NT/Windows 2000 计算机是否为域成员

                此方法使用 Windows API.来自文章摘要:

                This approach uses the Windows API. From the article summary:

                本文介绍了如何确定一台计算机是运行 Windows NT 4.0 或 Windows 2000是域的成员,是成员属于工作组,或者是独立的使用本地安全的计算机权限 API.

                This article describes how to determine if a computer that is running Windows NT 4.0 or Windows 2000 is a member of a domain, is a member of a workgroup, or is a stand-alone computer using the Local Security Authority APIs.

                本文还提供了一个小程序的示例代码,该程序输出运行该程序的计算机是域的一部分、工作组的一部分还是独立计算机.

                The article also provides sample code for a small program that outputs whether the computer the program is running on is part of a domain, part of a workgroup, or a standalone computer.

                这篇关于如何以编程方式确定 Windows 计算机是否是域的成员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:如何在 C/C++ 中构建自定义的简单 DNS 服务器 下一篇:c-ares 为 DNS 解析指定网络接口

                相关文章

                <legend id='hA42d'><style id='hA42d'><dir id='hA42d'><q id='hA42d'></q></dir></style></legend>
                <i id='hA42d'><tr id='hA42d'><dt id='hA42d'><q id='hA42d'><span id='hA42d'><b id='hA42d'><form id='hA42d'><ins id='hA42d'></ins><ul id='hA42d'></ul><sub id='hA42d'></sub></form><legend id='hA42d'></legend><bdo id='hA42d'><pre id='hA42d'><center id='hA42d'></center></pre></bdo></b><th id='hA42d'></th></span></q></dt></tr></i><div id='hA42d'><tfoot id='hA42d'></tfoot><dl id='hA42d'><fieldset id='hA42d'></fieldset></dl></div>
                1. <small id='hA42d'></small><noframes id='hA42d'>

                  1. <tfoot id='hA42d'></tfoot>
                      <bdo id='hA42d'></bdo><ul id='hA42d'></ul>