diff --git a/Common/IPInfos.h b/Common/IPInfos.h new file mode 100644 index 0000000..05d2c0c --- /dev/null +++ b/Common/IPInfos.h @@ -0,0 +1,22 @@ +// IPInfos.h: interface for the CIPInfos class. +// +////////////////////////////////////////////////////////////////////// + +#if !defined(AFX_IPINFOS_H__A1E74E5B_165E_4837_98BF_8D7DFB6DCAC9__INCLUDED_) +#define AFX_IPINFOS_H__A1E74E5B_165E_4837_98BF_8D7DFB6DCAC9__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +class CIPInfos +{ +public: + CIPInfos(); + virtual ~CIPInfos(); + + int GetLocalIPCount(); + CString GetLocalIP(int nIndex); +}; + +#endif // !defined(AFX_IPINFOS_H__A1E74E5B_165E_4837_98BF_8D7DFB6DCAC9__INCLUDED_)