CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
ip_global_properties.h
1
2#pragma once
3
4#include <system/string.h>
5#include <system/shared_ptr.h>
6#include <system/object.h>
7
8namespace System {
9namespace Net {
10namespace NetworkInformation {
11
16class ASPOSECPP_SHARED_CLASS IPGlobalProperties : public System::Object
17{
22
24 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
26 ASPOSECPP_SHARED_RTTI_INFO_DECL();
27
28public:
32
35 virtual ASPOSECPP_SHARED_API String get_DomainName();
38 virtual ASPOSECPP_SHARED_API String get_HostName();
39};
40}}} // namespace System::Net::NetworkInformation
Represents an information about the network connection of the local computer. Objects of this class s...
Definition: ip_global_properties.h:17
virtual String get_HostName()
Returns the host name of the local computer.
virtual String get_DomainName()
Returns the domain in which the local computer is registered.
static System::SharedPtr< IPGlobalProperties > GetIPGlobalProperties()
Constructs a new instance.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9