Discore
Show / Hide Table of Contents

Method ForApplicationIcon

| Improve this Doc View Source

ForApplicationIcon(Snowflake, string)

Creates a CDN URL builder for an application icon.

Declaration
public static DiscordCdnUrl ForApplicationIcon(Snowflake applicationId, string iconHash)
Parameters
Type Name Description
Snowflake applicationId

The ID of the application.

string iconHash

The icon hash for the application.

Returns
Type Description
DiscordCdnUrl
Exceptions
Type Condition
ArgumentNullException

Thrown if iconHash is null.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX