URL İşlemleri (URL Operations)

CombineUrl

  • Dönüş Tipi: string
  • Parametreler:
  • baseUrl (string): Temel URL
  • endpoint (string): Endpoint
  • Açıklama: İki URL parçasını birleştirir

Örnek Kullanım:

string result = Doc.CombineUrl("https://example.com", "/api/test");
// Sonuç: "https://example.com/api/test"

GetIpAddress

  • Dönüş Tipi: string
  • Parametreler: Yok
  • Açıklama: Sistem IP adresini döndürür

Örnek Kullanım:

string result = Doc.GetIpAddress();
// Sonuç: "192.168.1.1"