C Code How do I get the team name of the machine? Can I get a working group name based on IP?

Updated on Game 2024-03-08
19 answers
  1. Anonymous users2024-02-06

    using system;

    using ;

    using ;

    using ;

    using ;

    using ;

    using ;

    using ;

    using ;

    using ;

    namespace windowsformsapplication9public partial class form1 : formpublic form1()

    initializecomponent();

    private void button1_click(object sender, eventargs e)

    domain domain = ;

    The above is the program I wrote on the machine, and I pasted it all directly.

    In fact, the ** you want is the domain domain = this sentence, to get this sentence, you have to add it manually; Direct using is not possible, manual addition is done.

    After using; Once you're ready, you can use the domain to get the team name.

    As a side note, to get a workgroup name, your local computer is joined to the domain. Otherwise, the compilation will prompt your computer that it will not be able to get the workgroup name after not joining the domain.

  2. Anonymous users2024-02-05

    Take a point and upgrade to the second level to pass **.

  3. Anonymous users2024-02-04

    Generally, the intranet IP address is easy to view, and you can use the LAN address viewing tool to view others, such as P2P, network law enforcement officer, Jusheng network management, etc.

    A small and medium-sized company basically has at least one public IP but no more than 3 at most, and generally there is only one external IP for Internet access: one VPN, one email.

  4. Anonymous users2024-02-03

    @echo off

    The echo is connecting, please wait.

    for /f "tokens=2 delims=" %%i in ('"cscript //nologo "'Do echo Your public IP address is: %i

    delpause

    Save the above ** as a BAT file to view the public IP address.

  5. Anonymous users2024-02-02

    Or is there a router that controls more than 14 public network IPs If you have more than 14 routes, you can't control them, add a Cisco switch or Huawei switch to add a switch, and you can connect more.

  6. Anonymous users2024-02-01

    You can find it with the ping command. The command and arguments are (ping the computer name -4).

    1. Open the workgroup first and check the computer name of the target computer.

    In this case, the target computer name to be looked at here is jlcz-m.

    2. Open cmd and enter the command ping jlcz-m -4

    As shown in the figure above, the above part is the usage of the ping command. The next part is the result of running the command to check the IP of the workgroup computer.

    c:\users\admini~1>ping jlcz-m

    Ping jlcz-m [fe80::88db:f556:4ef5:aea6%00] with 32 bytes of data:

    Reply from fe80::88db:f556:4ef5:aea6%00: Time <1ms

    Reply from fe80::88db:f556:4ef5:aea6%00: Time <1ms

    Reply from fe80::88db:f556:4ef5:aea6%00: Time <1ms

    Reply from fe80::88db:f556:4ef5:aea6%00: Time <1ms

    ping stats for fe80::88db:f556:4ef5:aea6%00:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% Lost), Estimated time (in milliseconds) for round trip:

    Minimum = 0ms, Longest = 0ms, Average = 0ms

  7. Anonymous users2024-01-31

    You can see it by ping the computer name from the cmd command line.

  8. Anonymous users2024-01-30

    Click on the online neighbor, click the local connection on the page, and it will appear at the bottom left of the page.

  9. Anonymous users2024-01-29

    Open Neighbors, and one of the common tasks on the left says Workgroup Computers (Computer Usernames).

    I don't know the more direct way to view the IP (I don't seem to have heard of it), but it can be achieved through some software, I have used P2P terminator, although this is to control the broadband traffic of the computers in the group, but the IP of all computers in the group can be displayed, which can be regarded as an indirect realization of your requirements. And just looking at it doesn't require complicated settings.

  10. Anonymous users2024-01-28

    Computer name settings, your first one is right. The LAN workgroup settings should be set in the "Set up a home or small office network" in the online neighborhood, and note that all workgroups in the LAN must have the same name. You have set the IP address correctly.

    It is recommended to set it to "automatically assign addresses", so that friends with computers can plug in the Internet cable and access the Internet.

  11. Anonymous users2024-01-27

    Do you want to ask yourself? It's cold in the heights.

  12. Anonymous users2024-01-26

    Start >> Run >> Enter cmd

    Ping the opponent's machine name.

    Then you can see the IP address of the other person's machine name.

    If the other machine name has a common file, you can view it.

    In addition, if you have a good enough computer, you can use some hack to see the files on the other machine, and then do what you want to do. Hehe.

  13. Anonymous users2024-01-25

    How Do I Query the IP Address Used in a LAN?

  14. Anonymous users2024-01-24

    This is not a workgroup, this is the permission group to which the computer's account belongs. Look at the working group inside the on-line neighborhood. To query whose computer is based on the IP, the administrator needs to use the corresponding tools, bind the IP and MAC address of each computer, and register the employee to whom the IP belongs.

  15. Anonymous users2024-01-23

    The IP and computer name are attributes of the device and can be viewed by the administrator.

    When you turn on the network, you can see the workgroup, which is displayed by computer name. Use the ping of cmd to get the IP address by ping the computer name.

    The account under the local user belongs to this computer.,There are now 3 groups from ** view.,The users group is also a user group inside the computer.,I want to see the IP of this user.。。。 Just ipconfig is it?

  16. Anonymous users2024-01-22

    If you are remotely logged in to another computer in the same workgroup, you will definitely be able to change the computer name and the team name of that computer.

  17. Anonymous users2024-01-21

    First you have to have the appropriate permissions, and then you can.

  18. Anonymous users2024-01-20

    It's not realistic. Admin privileges - -

  19. Anonymous users2024-01-19

    There are two ways to get a hostname:

    string machinename = ;system namespace).

    string hostname = ;namespace) (IPv4 or IPv6 may be required, sometimes there will be multiple IP addresses in the host environment).

    A list of ipaddresses is available.

    or iphostentry hostentry=;

    It is also possible to get a list of IP addresses.

    Next, you can use your own method to filter to get the IP address you want, for example, IPv4 can use =="internetwork"as a condition for judgment;

    IPv6 can be used =="internetworkv6"

    Or use to judge.

Related questions
11 answers2024-03-08

I suggest you take a look at the blog post above.

9 answers2024-03-08

If you're using aspnet, he has a special function in. NET to get a computer name, IP address and current username is very simple, the following are a few methods I commonly use, if you have other good methods, you can reply and sort it out together: >>>More

6 answers2024-03-08

1. Observation method: through meetings, in-depth on-site, participation in production and operation, on-site sampling, on-site observation and accurate recording (including surveying and mapping, audio and video, photography, transcripts, etc.) of the investigation. >>>More

7 answers2024-03-08

int sum=0;

for(int i = 0 ;i< -1;i++) assumes that the ID of the datalist is datalist1 >>>More

8 answers2024-03-08

Your anomaly was triggered, but it was eaten.

Because the using statement is actually try....Finally, your ** is equivalent to. >>>More