Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions TechnitiumLibrary.Net/DomainEndPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ private DomainEndPoint()

public static bool TryParse(string value, out DomainEndPoint ep)
{
if (string.IsNullOrWhiteSpace(value))
{
ep = null;
return false;
}

string[] parts = value.Split(':');
if (parts.Length > 2)
{
Expand Down
1 change: 1 addition & 0 deletions TechnitiumLibrary.Net/NetworkAddress.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Technitium Library
Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com)
Copyright (C) 2026 Zafer Balkan (zafer@zaferbalkan.com)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down