#### [Abblix\.SecurityEvents](https://www.abblix.com/en/docs/api/abblix-securityevents 'index')
### [Abblix\.SecurityEvents\.Subjects](https://www.abblix.com/en/docs/api/abblix-securityevents/Abblix.SecurityEvents.Subjects 'Abblix\.SecurityEvents\.Subjects')

## DidSubject Class

Identifies a subject by a Decentralized Identifier URL \(RFC 9493 Section 3\.2\.6\)\.

```csharp
public sealed class DidSubject : Abblix.SecurityEvents.Subjects.SubjectIdentifier
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [SubjectIdentifier](https://www.abblix.com/en/docs/api/abblix-securityevents/Abblix.SecurityEvents.Subjects.SubjectIdentifier 'Abblix\.SecurityEvents\.Subjects\.SubjectIdentifier') → DidSubject
### Constructors

## DidSubject\(string\) Constructor {#Abblix.SecurityEvents.Subjects.DidSubject.DidSubject(string)}

Identifies a subject by a Decentralized Identifier URL \(RFC 9493 Section 3\.2\.6\)\.

```csharp
public DidSubject(string url);
```
#### Parameters

###### `url` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.SecurityEvents.Subjects.DidSubject.DidSubject(string).url}

A DID URL for the subject\. RFC 9493 Section 3\.2\.6 permits a bare DID as well as a DID URL
carrying path, query or fragment components\. REQUIRED, and must be neither null nor empty\.
### Properties

## DidSubject\.Url Property {#Abblix.SecurityEvents.Subjects.DidSubject.Url}

The DID URL identifying the subject\.

```csharp
public string Url { get; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

### Remarks
Held as a string rather than a parsed URL\. DID syntax is governed by the DID specification,
whose method\-specific identifiers the \.NET URI parser does not know; parsing here would
reject valid DIDs from methods this library has never heard of\.
