Table of Contents

Class DiscordSignedLink

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a DiscordSignedLink used for attachments and other things to improve security and prevent bad actors from abusing Discord's CDN.

[JsonConverter(typeof(DiscordSignedLink.DiscordSignedLinkJsonConverter))]
public sealed class DiscordSignedLink : DiscordUri
Inheritance
DiscordSignedLink
Inherited Members

Constructors

DiscordSignedLink(string)

Initializes a new instance of the DiscordSignedLink class with the specified URI for signed discord links.

DiscordSignedLink(Uri)

Initializes a new instance of the DiscordSignedLink class with the specified URI for signed discord links.

Properties

ExpiresAt

Gets when the signed link expires.

IsSigned

Gets whether the url is signed.

IssuedAt

Gets when the signed link was generated.

Signature

Gets the signature of the signed link.

Methods

ToString()

Returns a string representation of this DiscordSignedLink.

Operators

implicit operator Uri?(DiscordSignedLink)

Converts a DiscordSignedLink to a Uri implicitly, if possible.