summaryrefslogtreecommitdiffstats
path: root/src/main.test/Mock/Clients/IISClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.test/Mock/Clients/IISClient.cs')
-rw-r--r--src/main.test/Mock/Clients/IISClient.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/main.test/Mock/Clients/IISClient.cs b/src/main.test/Mock/Clients/IISClient.cs
index c2a5898..f131434 100644
--- a/src/main.test/Mock/Clients/IISClient.cs
+++ b/src/main.test/Mock/Clients/IISClient.cs
@@ -164,7 +164,22 @@ namespace PKISharp.WACS.UnitTests.Mock.Clients
public string IP { get; set; }
public byte[] CertificateHash { get; set; }
public string CertificateStoreName { get; set; }
- public string BindingInformation => $"{IP}:{Port}:{Host}";
+ public string BindingInformation
+ {
+ get
+ {
+ if (_bindingInformation != null)
+ {
+ return _bindingInformation;
+ }
+ else
+ {
+ return $"{IP}:{Port}:{Host}";
+ }
+ }
+ set => _bindingInformation = value;
+ }
+ private string? _bindingInformation = null;
public SSLFlags SSLFlags { get; set; }
}
}