Dns.h 844 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include <stdint.h>
  3. #include "il2cpp-config.h"
  4. struct Il2CppArray;
  5. struct Il2CppString;
  6. namespace il2cpp
  7. {
  8. namespace icalls
  9. {
  10. namespace System
  11. {
  12. namespace System
  13. {
  14. namespace Net
  15. {
  16. class LIBIL2CPP_CODEGEN_API Dns
  17. {
  18. public:
  19. static bool GetHostByAddr(Il2CppString*, Il2CppString**, Il2CppArray**, Il2CppArray**);
  20. static bool GetHostByName(Il2CppString*, Il2CppString**, Il2CppArray**, Il2CppArray**);
  21. static bool GetHostByAddr40(Il2CppString*, Il2CppString**, Il2CppArray**, Il2CppArray**, int32_t hint);
  22. static bool GetHostByName40(Il2CppString*, Il2CppString**, Il2CppArray**, Il2CppArray**, int32_t hint);
  23. static bool GetHostName(Il2CppString**);
  24. };
  25. } /* namespace Net */
  26. } /* namespace System */
  27. } /* namespace System */
  28. } /* namespace icalls */
  29. } /* namespace il2cpp */