Skip to main content
Meziantou.Framework

    SponsorGitHub
    • AnsiFormatting
      • Introduction
      • Getting started
      • Reading styles
    • ASP.NET Core
      • Introduction
      • Getting started
      • Service defaults
        • Overview
        • Options
        • Default endpoints and middleware
        • JSON conventions
        • Applying the defaults automatically
      • Middleware
        • Overview
        • Default no-cache header
        • Middleware pipeline debugging
      • HTTP Basic authentication
        • Overview
        • Validating credentials
        • ASP.NET Core Identity
        • Securing a Basic endpoint
      • MVC tag helpers
      • Blazor components
        • Overview
        • Repeater and loading indicator
        • Data grid
        • Infinite scrolling
        • Generated forms
        • Input components
        • Query string
        • Clipboard
        • User time zone
        • Anchor navigation
        • Log viewer
          • Overview
          • Display options
          • Structured messages
          • ANSI colors
          • Highlighters
          • Nested entries
      • Browser fetch options
    • Assertions
      • Introduction
      • Getting started
      • Equality
      • Equivalence
      • Text
      • Collections
      • Nulls, types and ranges
      • Exceptions
      • Events
      • Failure messages
      • Analyzer rules
      • Architecture
        • Overview
        • Getting started
        • Type rules
        • Layers and slices
        • The model
        • Limitations
    • AtlassianDataFormat
      • Introduction
      • Getting started
      • Converting to Markdown
      • The object model
      • Command-line tool
      • Limitations
      • Command reference
    • Avatar
      • Introduction
      • Getting started
      • Appearance
      • Initials
      • Accessibility
      • Stable colors
    • Barcodes
      • Introduction
      • Getting started
      • QR codes
      • Linear barcodes
      • QR code content
      • SVG and PNG
      • Terminal output
      • Images
      • Limitations
    • Bencode
      • Introduction
      • Getting started
      • Reading bencode
      • Writing bencode
      • Torrent files
      • Limitations
    • BloomFilters
      • Introduction
      • Getting started
      • Sizing a filter
      • Adding values
      • Counting Bloom filters
      • Hash algorithms
      • Combining filters
      • Blocked Bloom filters
      • Saving and loading filters
    • ByteSize
      • Introduction
      • Getting started
      • Formatting and parsing
    • Charts
      • Introduction
      • Getting started
      • Concepts
      • Gallery
        • Overview
        • Cartesian charts
        • Radial charts
        • Hierarchical charts
        • Statistical charts
        • Small multiples
        • Flows
        • Networks
        • Maps
      • Text measurement
      • Theming and accessibility
      • Image rendering
      • Tooltips in a web page
    • ChromiumTracing
      • Introduction
      • Getting started
      • Event types
      • Event properties
      • Files and streams
    • CodeDom
      • Introduction
      • Getting started
      • Declarations
      • Statements and expressions
      • Comments and nullable context
      • Writing code
    • CodeOwners
      • Introduction
      • Getting started
      • Entries and owners
      • GitLab sections
      • Handling errors
      • Limitations
    • CommandLine
      • Introduction
      • Getting started
      • Parsing arguments
      • Quoting arguments
      • Prompts
    • Csv
      • Introduction
      • Getting started
      • Reading CSV
      • Writing CSV
      • Limitations
    • DependencyScanning
      • Introduction
      • Getting started
      • Scanning files
      • Configuring the scan
      • Supported files
        • Overview
        • .NET
        • JavaScript
        • Containers
        • CI pipelines
        • Other ecosystems
        • Repository files
      • Updating dependencies
      • Handling errors
      • Custom scanners
      • Command-line tool
      • Limitations
      • Command reference
        • Meziantou.Framework.DependencyScanning.Tool
        • update
        • list
    • Diagnostics
      • Introduction
      • Getting started
      • Context snapshot
        • Overview
        • Capturing a snapshot
        • What a snapshot contains
        • Sensitive data
      • Memory dumps
        • Overview
        • Dump types
        • Platform requirements
    • DiffEngine
      • Introduction
      • Getting started
      • Finding tools
    • DNS
      • Introduction
      • Getting started
      • DnsClient
        • Overview
        • Protocols
        • Querying
        • DNSSEC
        • Errors and timeouts
      • DnsServer
        • Overview
        • Listeners
        • Writing a handler
        • Serving a zone
        • Limits and hardening
      • DnsFilter
        • Overview
        • Filter lists
        • Rule syntax
        • Client rules
        • Rewrites
      • DnsProxy
        • Overview
        • Running the proxy
        • Configuration
        • Serving the network
        • Diagnostics
      • Limitations
    • EmbeddedConstantsGenerator
      • Introduction
      • Getting started
      • Configuration
      • Errors
    • FastEnumGenerator
      • Introduction
      • Getting started
      • Generated members
      • Interceptors
      • Diagnostics
    • FixedStringBuilder
      • Introduction
      • Getting started
      • Working with fixed strings
      • Custom capacities
      • Diagnostics
    • Fonts
      • Introduction
      • Getting started
      • Loading fonts
      • Glyphs
      • Variable fonts
      • Shaping
      • Installed fonts
      • Subsetting
      • AFM metrics
      • Limitations
    • Meziantou.Framework (core)
      • Introduction
      • Getting started
      • Strings
      • Formatting and cultures
      • String similarity
      • Collections
        • Overview
        • Queues and buffers
        • Sorted collections
        • Dictionaries and tries
        • Equatable collections
      • Sequences
      • Files and streams
      • Processes
      • Debounce and throttle
      • Dates, numbers and ranges
      • Reflection
      • Validation attributes
      • Capturing activities
      • Other helpers
    • FullPath
      • Introduction
      • Getting started
      • Creating paths
      • Names, extensions and parents
      • Comparing paths
      • Finding ancestors
      • Symbolic links
      • Serialization
      • Platform-specific features
      • Analyzer
        • Overview
        • Using FullPath members
        • Declaring FullPath instead of string
        • Comparisons and checks
    • Geo
      • Introduction
      • Getting started
      • Features and geometries
      • Formats
        • Overview
        • GeoJSON
        • TopoJSON
        • Shapefile
        • KML and KMZ
        • GPX
        • WKT and WKB
        • Encoded polyline
        • FlatGeobuf
      • Projections
      • Geometry operations
      • Limitations
    • Geo.Maps
      • Introduction
      • Getting started
      • Generating bundles
      • Formats
    • Globbing
      • Introduction
      • Getting started
      • Pattern syntax
      • Dialects
      • Matching paths
      • Enumerating files
      • Combining patterns
      • Reading .gitignore files
    • Hashing
      • Introduction
      • Getting started
      • BCrypt
      • Argon2
      • Cryptographic hashes
      • Checksums
    • HtmlSanitizer
      • Introduction
      • Getting started
      • The default policy
      • Allowed elements
      • Allowed attributes and styles
      • URLs
      • Security guarantees and limits
    • HTML to Markdown
      • Introduction
      • Getting started
      • Converted elements
      • Formatting options
      • Unknown elements and untrusted HTML
      • Rendering the Markdown
      • Command-line tool
      • Limitations
      • Command reference
    • HTML tool
      • Introduction
      • Getting started
      • Selecting files
      • Replacing values
      • Appending versions
      • Inlining resources
      • Output format and encoding
      • Command reference
        • meziantou.html
        • replace-value
        • append-version
        • inline-resources
    • Http
      • Introduction
      • Getting started
      • Link headers
      • Caching
        • Overview
        • Getting started
        • Cache stores
        • Freshness and validation
        • Vary and No-Vary-Search
        • Request directives
        • Serving stale responses on errors
        • Invalidation
        • Options
        • Limitations
      • HSTS
        • HSTS
        • Upgrading requests
        • Managing policies
        • Redirects
        • The preload list
      • Htpasswd files
      • Recording
        • Overview
        • Getting started
        • Recording modes
        • Matching requests
        • When no recording matches
        • Sanitizing secrets
        • Recording stores
      • Server-side request forgery
        • Overview
        • Getting started
        • Configuration
        • Handling rejections
        • Proxies and HTTP/3
    • HttpArchive
      • Introduction
      • Getting started
      • Reading and writing
      • Missing and null values
      • Converting entries
      • Sharing archives
    • HttpClientMock
      • Introduction
      • Getting started
      • Matching requests
      • Responses
      • Verifying calls
      • Dependency injection
      • Logging and services
    • HumanReadableSerializer
      • Introduction
      • Getting started
      • Output format
      • Members
      • Converters
      • JSON, XML and HTML values
      • HTTP messages
      • Options
      • Snapshot testing
    • Iconify
      • Introduction
      • Getting started
      • Loading icon sets
    • Imaging
      • Introduction
      • Getting started
      • Guides
        • Guides
        • Create thumbnails
        • Convert between formats
        • Process animated images
        • Handle photos from phones and cameras
        • Add a watermark
        • Process untrusted uploads
        • Strip or edit metadata
      • Concepts
        • Concepts
        • Images, frames and animations
        • Pages and representations
        • Ownership and lifetimes
        • Pixel formats
        • Thread safety and atomicity
      • Loading and saving
        • Loading and saving
        • Loading images
        • Identifying images
        • Saving images
        • Streaming readers and writers
        • Show an image while it downloads
        • Resource limits
        • Handling errors
      • Processing
        • Processing
        • Crop and auto-crop
        • Resizing
        • Rotate, flip and transform
        • Blur, sharpen and convolution
        • Color adjustments and effects
        • Histograms, levels and curves
        • Color reduction
        • Binarization
        • Comparing images
        • Morphology
      • Drawing
        • Drawing
        • Shapes and paths
        • Brushes and pens
        • Transformations
        • Layers, masks and filters
        • Rendering quality
        • Drawing on animations
      • Text
        • Text
        • Fonts
        • Drawing text
        • Text layout
        • Text on paths and measuring
      • Color
        • Color
        • Metadata and orientation
        • Color management
        • Color values
      • Formats
        • Supported formats
        • PNG and APNG
        • GIF
        • JPEG
        • WebP
        • QOI
        • BMP
        • TGA
        • Netpbm
        • TIFF and BigTIFF
        • ICO and CUR
        • ANI
        • AVIF
        • HEIC
        • JPEG XL
        • JPEG 2000
        • OpenEXR
      • Performance
      • Limitations
    • Inline snapshot testing
      • Introduction
      • Getting started
      • Settings
      • Serializers
      • Deterministic snapshots
      • String formats and source files
      • Helper methods
      • Updating snapshots
      • Merge tools
      • Continuous integration
    • JavaScript engine
      • Introduction
      • Getting started
      • Engines and realms
      • Running code
        • Running code
        • Scripts
        • Modules
        • Handling errors
        • Debugging and inspecting scripts
        • CommonJS modules
      • Exchanging values
        • Exchanging values
        • Values
        • Objects and arrays
        • Functions
        • Exposing .NET objects
        • Binary data
        • Console, timers and other host APIs
        • Converting .NET values
      • Async code and promises
      • Limits and sandboxing
      • Intl, dates and time zones
      • Limitations
      • Conformance
      • Data versions and output differences
    • JSONPath
      • Introduction
      • Getting started
      • Query syntax
      • Filters
      • Functions
      • Evaluating queries
      • Errors and evaluation modes
      • Custom object models
      • Limitations
    • LLMContext
      • Introduction
      • Getting started
      • Detection rules
    • Language
      • Introduction
      • Getting started
      • Concepts
        • Overview
        • Nodes and tokens
        • Trivia
        • Source text and positions
        • Diagnostics
        • Editing trees
        • Annotations
        • Visitors and rewriters
      • JSON
      • XML
      • INI
      • TOML
      • CSS
      • Regular expressions
        • Overview
        • Dialects
        • Options and captures
        • Editing patterns
      • Shell scripts
        • Overview
        • Dialects
        • Reading scripts
        • Editing scripts
      • Command-line tool
      • Limitations
      • Command reference
        • Meziantou.Framework.Language.Tool
        • syntax
    • Logging
      • Introduction
      • Getting started
      • File logger
        • Overview
        • Configuration
        • Files, rolling and retention
        • Compression
        • Message format
        • Queue and flushing
        • Security
      • In-memory logger
        • Overview
        • Asserting on the logs
        • Testing an application
      • xUnit.net logger
        • Overview
        • Output options
        • Dependency injection
    • Markdown
      • Introduction
      • Getting started
      • Converting to HTML
      • Extensions
        • Extensions
        • Tables
        • Headings and links
        • Text formatting
        • Blocks
        • Attributes
        • YAML front matter
      • The syntax tree
      • Source positions
      • Editing documents
      • Plain text and other formats
      • Writing extensions
      • Security
    • MediaTags
      • Introduction
      • Getting started
      • Reading tags
      • Writing tags
      • Format support
      • Limitations
    • Node.js
      • Introduction
      • Getting started
      • Running JavaScript code
      • Calling modules
      • Arguments and results
      • Keeping values in Node.js
      • Configuring the Node.js process
      • Handling errors
      • Cancellation and timeouts
      • Running calls in parallel
      • Security
      • Limitations
    • NTP
      • Introduction
      • Getting started
      • Querying a server
      • Response validation
      • Running a server
      • Limitations
    • NuGetPackageValidation
      • Introduction
      • Getting started
      • Rules
      • Error codes
      • Configuring the validation
      • Custom rules
      • Command-line tool
      • Running in CI
      • Command reference
    • ObjectMethodExecutor
      • Introduction
      • Getting started
      • Asynchronous methods
      • Parameters
      • Trimming and Native AOT
    • OpenTelemetryCollector
      • Introduction
      • Getting started
      • Testing with the in-memory receiver
      • Custom handlers
      • Endpoints
      • Sampling
      • Tail sampling
    • Package dependencies
    • PDF
      • Introduction
      • Getting started
      • Creating documents
        • Creating documents
        • Shapes and colors
        • Text
        • Fonts
        • Images
        • Gradients and patterns
        • Reusable content
        • Transparency
        • Tables
      • Metadata and navigation
        • Metadata and navigation
        • Metadata
        • Outline and links
        • Embedded files
        • Page labels
        • Annotations
      • Reading and modifying
        • Reading and modifying
        • Opening documents
        • Extracting text
        • Modifying documents
        • The object model
        • Errors and limits
        • Managing pages
        • Extracting images
        • Forms
      • Rendering
        • Rendering
        • Fonts that are not embedded
        • Regions, sizes and targets
        • Layers, annotations and printing
        • Halftones
      • Security
        • Security
        • Encryption
        • Unencrypted wrapper documents
        • Digital signatures
      • Accessibility and archiving
        • Accessibility and archiving
        • Tagged PDF and PDF/UA
        • PDF/A
      • Limitations
    • PooledMemoryStream
      • Introduction
      • Getting started
      • IBufferWriter
      • Options
      • Buffers and lifetime
    • ProcessWrapper
      • Introduction
      • Getting started
      • Configuring the process
      • Reading the output
      • Input and pipes
      • Exit codes and errors
      • Cancellation and killing
      • Resource limits
      • Testing
      • Telemetry
    • Public API generator
      • Introduction
      • Getting started
      • The API files
      • Generating API files in the build
      • Command-line tool
      • Library
        • Library
        • Generating API files
        • Reading the API model
        • Identifying symbols
        • Formatting declarations
        • Comparing target frameworks
      • Limitations
      • Command reference
    • RelativeDate
      • Introduction
      • Getting started
      • Texts and thresholds
      • Languages and custom texts
    • ResxSourceGenerator
      • Introduction
      • Getting started
      • Generated members
      • Format parameters
      • Configuration
      • Diagnostics
    • RobotsTxt
      • Introduction
      • Getting started
      • User-agent groups
      • Path rules
      • Parse errors
    • Roslyn
      • Introduction
      • Getting started
      • Symbols and types
      • Operations and syntax
      • Generated code
      • Reporting diagnostics
      • Build configuration
    • Scheduling
      • Introduction
      • Getting started
      • Recurrence rules
      • Cron expressions
      • Time zones
      • Human-readable text
      • Reading iCalendar
      • Writing iCalendar
    • SensitiveData
      • Introduction
      • Getting started
      • Revealing the contents
      • Configuration
      • Protection
    • SimpleQueryLanguage
      • Introduction
      • Getting started
      • Query syntax
      • In-memory queries
      • Database queries
      • Values and dates
      • Limitations
    • SingleInstance
      • Introduction
      • Getting started
      • Receiving notifications
      • How it works
    • Slug
      • Introduction
      • Getting started
      • Options
    • Snapshot testing
      • Introduction
      • Getting started
      • Writing tests
        • Writing tests
        • Snapshot types
        • Snapshot files
        • Naming snapshots
        • Helper methods
        • Deterministic snapshots
        • Asynchronous values
      • Settings
      • Serializers and comparers
      • Updating snapshots
        • Updating snapshots
        • Update strategies
        • The approval tool
        • Merge tools
        • Continuous integration
        • Command reference
          • Meziantou.Framework.SnapshotTesting.Tool
          • approve
      • Extensions
        • Extensions
        • Images
        • PDF documents
        • Roslyn
      • File snapshots or inline snapshots
    • StronglyTypedId
      • Introduction
      • Getting started
      • Declaring IDs
      • Underlying types
      • Generated members
      • Validation and custom members
      • Options
      • Assembly-wide defaults
      • Integrations
        • Integrations
        • System.Text.Json
        • Newtonsoft.Json
        • MongoDB
        • TypeConverter and configuration
        • ASP.NET Core
        • Entity Framework Core
      • The interfaces package
      • Diagnostics
      • Limitations
    • Syntax highlighting
      • Introduction
      • Getting started
      • Styling
      • Supported languages
      • Invalid code
      • Untrusted input
      • Performance
    • Tagged values
      • Introduction
      • Getting started
      • Tagging values
      • Tagging local variables
      • Collections, dictionaries and wrappers
      • Arithmetic and operators
      • Naming conventions
      • Strict mode
      • Analyzer rules
        • Overview
        • MFTV0001: Do not compare values with different tags
        • MFTV0002: Use a value with the tag the target expects
        • MFTV0003: Combine only values with the same tag
        • MFTV0004: Use the tags of the overridden or implemented member
        • MFTV0005: Fix or remove the invalid value tag annotation
        • MFTV0006: Add an explicit tag to disambiguate the conventional tag
        • MFTV0007: Remove the redundant value tag
        • MFTV0008: Tag the return value with the tag of the returned values
        • MFTV0009: Do not mix tagged values with untagged values
    • TdsServer
      • Introduction
      • Getting started
      • Hosting the server
      • Authentication
      • Handling queries
      • Returning results
      • The query engine
      • Supported SQL
      • Encryption
      • Connecting clients
      • Bulk loads
      • Limitations
    • Templating
      • Introduction
      • Getting started
      • Template syntax
      • Passing arguments
      • Using code and libraries
      • HTML emails
        • HTML emails
        • Encoding values
        • Subject and embedded images
      • Command-line tool
      • Compilation and memory
      • Errors and debugging
      • Limitations
      • Command reference
    • TemporaryContainers
      • Introduction
      • Getting started
      • Databases
      • Configuring a container
        • Configuring a container
        • Images
        • Command, environment and resources
        • Ports
        • Volumes and mounts
        • Wait strategies
        • Networks
        • Advanced options
      • Working with a container
      • Container runtimes
      • Cleaning up
      • Reusing a container
      • Using containers in tests and CI
      • Troubleshooting
    • TemporaryDirectory
      • Introduction
      • Getting started
      • Temporary directories
      • Temporary files
    • TextDiff
      • Introduction
      • Getting started
      • Reading the result
      • Chunking
      • Comparison options
      • Hierarchical diffs
      • Algorithms
      • Displaying a diff
      • Limitations
    • Threading
      • Introduction
      • Getting started
      • Locks
      • Keyed locks
      • Signaling and cancellation
      • Concurrent collections
      • Observable collection
      • Awaiting tasks
      • Scheduling work
    • TOML
      • Introduction
      • Getting started
      • TOML 1.0 and 1.1
      • Serialization
        • Serialization
        • Serializing objects
        • Options
        • Mapping members
        • Custom converters
        • Polymorphism
        • Handling errors
      • Source generation
      • NativeAOT and trimming
      • Document model
      • Syntax tree, lexer and parser
    • TypeConverter
      • Introduction
      • Getting started
      • Supported conversions
      • Custom conversions
    • UndoRedo
      • Introduction
      • Getting started
      • Actions
      • Transactions
      • Merging actions
      • Undo history in the UI
      • Migrating from version 3
    • Unicode
      • Introduction
      • Getting started
      • Character properties
      • Scripts
      • Case conversion
      • Normalization
      • Text segmentation
      • Line breaking
      • Word dictionaries
      • Hyphenation
      • Bidirectional text
      • Internationalized domain names
      • Look-alike characters
    • Unix control groups
      • Introduction
      • Getting started
      • Resource limits
      • Reading values
      • Managing processes
      • Troubleshooting
    • Uri
      • Introduction
      • Getting started
      • Matching URLs
      • Pattern syntax
      • Pattern collections
      • Query strings
      • Public Suffix List
      • Limitations
    • ValueStopwatch
      • Introduction
      • Getting started
      • Timestamps
    • ValueStringBuilder
      • Introduction
      • Getting started
      • Appending text
      • Editing the content
      • Pitfalls
    • Versioning
      • Introduction
      • Getting started
      • Comparing versions
      • Version ranges
    • WPF
      • Introduction
      • Getting started
      • Commands
      • Enum values
      • Boolean converter
      • Dispatcher
      • Closing on Escape
    • WebPlatform
      • Introduction
      • Getting started
      • HTML and the DOM
        • HTML and the DOM
        • Parsing documents
        • Querying documents
        • Modifying documents
        • Serializing and formatting
        • Sanitizing HTML
        • Custom elements
        • Accessibility
      • CSS
        • CSS
        • Computed styles
        • Style sheets
        • Typed values
        • Formatting CSS
      • Loading pages
        • Loading pages
        • Network requests
        • Cookies and storage
        • Viewport and devices
        • Layout and geometry
        • User input
        • Time and the event loop
        • Permissions and devices
      • Scripting
        • Scripting
        • Running JavaScript
        • Calling JavaScript from .NET
        • Running untrusted pages
        • WebAssembly
      • Rendering
        • Rendering
        • Screenshots
        • Printing pages
        • PDF output
        • Canvas
        • Fonts
      • Playwright
        • Playwright
        • Hosting the server
        • Command-line tool
        • Command reference
      • Limitations
      • WPT coverage
        • WPT coverage
        • FileAPI
        • IndexedDB
        • WebCryptoAPI
        • accelerometer
        • accessibility
        • accname
        • acid
        • ai
        • ambient-light
        • animation-worklet
        • apng
        • audio-output
        • audio-session
        • autoplay-policy-detection
        • avif
        • background-fetch
        • background-sync
        • badging
        • battery-status
        • beacon
        • bluetooth
        • captured-mouse-events
        • clear-site-data
        • client-hints
        • clipboard-apis
        • close-watcher
        • compat
        • compression
        • compute-pressure
        • connection-allowlist
        • console
        • contacts
        • container-timing
        • content-dpr
        • content-index
        • content-security-policy
        • contenteditable
        • cookies
        • cookiestore
        • core-aam
        • cors
        • cpu-performance
        • credential-management
        • css
          • css/CSS2
          • css/WOFF2
          • css/compositing
          • css/css-align
          • css/css-anchor-position
          • css/css-animations
          • css/css-backgrounds
          • css/css-borders
          • css/css-box
          • css/css-break
          • css/css-cascade
          • css/css-color-adjust
          • css/css-color-hdr
          • css/css-color
          • css/css-conditional
          • css/css-contain
          • css/css-content
          • css/css-counter-styles
          • css/css-device-adapt
          • css/css-display
          • css/css-easing
          • css/css-env
          • css/css-exclusions
          • css/css-flexbox
          • css/css-font-loading
          • css/css-fonts
          • css/css-forced-color-adjust
          • css/css-forms
          • css/css-gaps
          • css/css-grid
          • css/css-highlight-api
          • css/css-image-animation
          • css/css-images
          • css/css-inline
          • css/css-layout-api
          • css/css-link-params
          • css/css-lists
          • css/css-logical
          • css/css-masking
          • css/css-mixins
          • css/css-multicol
          • css/css-namespaces
          • css/css-navigation
          • css/css-nesting
          • css/css-overflow
          • css/css-overscroll-behavior
          • css/css-page
          • css/css-paint-api
          • css/css-painting
          • css/css-parser-api
          • css/css-position
          • css/css-properties-values-api
          • css/css-pseudo
          • css/css-rhythm
          • css/css-ruby
          • css/css-scroll-anchoring
          • css/css-scroll-snap
          • css/css-scrollbars
          • css/css-shadow
          • css/css-shapes
          • css/css-size-adjust
          • css/css-sizing
          • css/css-style-attr
          • css/css-syntax
          • css/css-tables
          • css/css-text-decor
          • css/css-text
          • css/css-transforms
          • css/css-transitions
          • css/css-typed-om
          • css/css-ui
          • css/css-values
          • css/css-variables
          • css/css-view-transitions
          • css/css-viewport
          • css/css-will-change
          • css/css-writing-modes
          • css/cssom-view
          • css/cssom
          • css/fetching
          • css/fill-stroke
          • css/filter-effects
          • css/geometry
          • css/mediaqueries
          • css/motion
          • css/printing
          • css/reference
          • css/selectors
        • custom-elements
        • delegated-ink
        • density-size-correction
        • deprecation-reporting
        • device-bound-session-credentials
        • device-memory
        • device-posture
        • digital-credentials
        • direct-sockets
        • document-picture-in-picture
        • document-policy
        • dom
        • domparsing
        • domxpath
        • dpub-aam
        • ecmascript
        • editing
        • element-timing
        • encoding-detection
        • encoding
        • encrypted-media
        • entries-api
        • event-timing
        • eventsource
        • eyedropper
        • fedcm
        • fenced-frame
        • fetch
        • file-system-access
        • focus
        • font-access
        • forced-colors-mode
        • fs
        • fullscreen
        • gamepad
        • generic-sensor
        • geolocation-sensor
        • geolocation
        • gif
        • gpc
        • graphics-aria
        • gyroscope
        • hr-time
        • hsts
        • html
          • html/anonymous-iframe
          • html/browsers
          • html/canvas
          • html/capability-delegation
          • html/cross-origin-embedder-policy
          • html/cross-origin-opener-policy
          • html/document-isolation-policy
          • html/dom
          • html/editing
          • html/infrastructure
          • html/interaction
          • html/links
          • html/meta
          • html/obsolete
          • html/rendering
          • html/scripting
          • html/select
          • html/semantics
          • html/syntax
          • html/the-xhtml-syntax
          • html/user-activation
          • html/webappapis
        • html-aam
        • html-media-capture
        • html-ruby-extensions
        • https-upgrades
        • idle-detection
        • imagebitmap-renderingcontext
        • import-maps
        • inert
        • infrastructure
        • input-device-capabilities
        • input-events
        • installedapp
        • intersection-observer
        • intervention-reporting
        • is-input-pending
        • jpegxl
        • js-self-profiling
        • js
        • keyboard-lock
        • keyboard-map
        • largest-contentful-paint
        • layout-instability
        • loading
        • long-animation-frame
        • longtask-timing
        • magnetometer
        • managed
        • mathml
        • measure-memory
        • media-capabilities
        • media-playback-quality
        • media-source
        • mediacapture-extensions
        • mediacapture-fromelement
        • mediacapture-handle
        • mediacapture-image
        • mediacapture-insertable-streams
        • mediacapture-record
        • mediacapture-region
        • mediacapture-streams
        • mediasession
        • merchant-validation
        • mimesniff
        • mixed-content
        • mst-content-hint
        • nav-tracking-mitigations
        • navigation-api
        • navigation-timing
        • netinfo
        • network-error-logging
        • notifications
        • old-tests
        • orientation-event
        • orientation-sensor
        • page-lifecycle
        • page-visibility
        • paint-timing
        • payment-method-basic-card
        • payment-method-id
        • payment-method-manifest
        • payment-request
        • performance-timeline
        • periodic-background-sync
        • permissions-policy
        • permissions-request
        • permissions-revoke
        • permissions
        • picture-in-picture
        • png
        • pointerevents
        • pointerlock
        • preload
        • presentation-api
        • private-click-measurement
        • proximity
        • push-api
        • quirks
        • referrer-policy
        • remote-playback
        • reporting
        • requestidlecallback
        • resize-observer
        • resource-timing
        • sanitizer-api
        • savedata
        • scheduler
        • screen-capture
        • screen-details
        • screen-orientation
        • screen-wake-lock
        • scroll-animations
        • scroll-performance-timing
        • scroll-to-text-fragment
        • secure-contexts
        • secure-payment-confirmation
        • selection
        • serial
        • server-timing
        • service-workers
        • shadow-dom
        • shape-detection
        • signed-exchange
        • soft-navigation-heuristics
        • speculation-rules
        • speech-api
        • storage-access-api
        • storage
        • streams
        • subapps
        • subresource-integrity
        • svg-aam
        • svg
        • timing-entrytypes-registry
        • touch-events
        • trust-tokens
        • trusted-types
        • ua-client-hints
        • uievents
        • upgrade-insecure-requests
        • url
        • urlpattern
        • user-timing
        • vibration
        • video-rvfc
        • viewport-segments
        • viewport
        • virtual-keyboard
        • visual-viewport
        • wai-aria
        • wasm
        • web-animations
        • web-based-payment-handler
        • web-bundle
        • web-extensions
        • web-install
        • web-locks
        • web-nfc
        • web-otp
        • web-share
        • webaudio
        • webauthn
        • webcodecs
        • webdriver
        • webgl
        • webhid
        • webidl
        • webmcp
        • webmessaging
        • webmidi
        • webnn
        • webrtc-encoded-transform
        • webrtc-extensions
        • webrtc-ice
        • webrtc-identity
        • webrtc-priority
        • webrtc-stats
        • webrtc-svc
        • webrtc
        • websockets
        • webstorage
        • webtransport
        • webusb
        • webvtt
        • webxr
        • window-management
        • workers
        • worklets
        • x-frame-options
        • xhr
        • xml
    • Win32
      • Introduction
      • Getting started
      • Access tokens
      • Antimalware scanning
      • Change journal
      • Credential Manager
      • Folder dialog
      • Job objects
      • LSA private data
      • Mark of the Web
      • Perceived types
      • Projected file system
        • Overview
        • Implementing a provider
        • Running the file system
      • Recent documents
      • Restart Manager
    • Xunit
      • Introduction
      • Getting started
      • Conditions
      • Combining conditions
    • YAML
      • Introduction
      • Getting started
      • Serialization
        • Serialization
        • Serialize and deserialize
        • Supported types
        • Members and names
        • Output format
        • Reading behavior
        • Custom converters
        • Polymorphism
        • C# unions
        • Anchors, aliases and merge keys
        • Schemas
      • Source generation
      • Document object model
      • Syntax tree
      • Parser and emitter
      • Handling errors
      • Reading untrusted YAML
    • API reference
      • Meziantou.AspNetCore
      • Meziantou.AspNetCore.Authentication.HttpBasic
      • Meziantou.AspNetCore.Components
      • Meziantou.AspNetCore.Components.WebAssembly
      • Meziantou.AspNetCore.Diagnostics
      • Meziantou.AspNetCore.Mvc.TagHelpers
      • Meziantou.AspNetCore.ServiceDefaults
      • Meziantou.Extensions.Logging
      • Meziantou.Extensions.Logging.InMemory
      • Meziantou.Extensions.Logging.Xunit.v3
      • Meziantou.Framework
      • Meziantou.Framework.Annotations
      • Meziantou.Framework.Assertions
      • Meziantou.Framework.Assertions.Architecture
      • Meziantou.Framework.AtlassianDataFormat
      • Meziantou.Framework.Barcodes
      • Meziantou.Framework.Bencode
      • Meziantou.Framework.Bencode.Torrent
      • Meziantou.Framework.BloomFilters
      • Meziantou.Framework.Charts
      • Meziantou.Framework.ChromiumTracing
      • Meziantou.Framework.CodeDom
      • Meziantou.Framework.CodeOwners
      • Meziantou.Framework.Collections
      • Meziantou.Framework.Collections.Concurrent
      • Meziantou.Framework.Csv
      • Meziantou.Framework.DataAnnotations
      • Meziantou.Framework.DependencyScanning
      • Meziantou.Framework.DependencyScanning.Scanners
      • Meziantou.Framework.Diagnostics
      • Meziantou.Framework.Diagnostics.ContextSnapshot
      • Meziantou.Framework.DiffEngine
      • Meziantou.Framework.DnsClient
      • Meziantou.Framework.DnsClient.Query
      • Meziantou.Framework.DnsClient.Response
      • Meziantou.Framework.DnsClient.Response.Records
      • Meziantou.Framework.DnsFilter
      • Meziantou.Framework.DnsServer.Handler
      • Meziantou.Framework.DnsServer.Hosting
      • Meziantou.Framework.DnsServer.Protocol
      • Meziantou.Framework.DnsServer.Protocol.Records
      • Meziantou.Framework.FixedStringBuilder
      • Meziantou.Framework.Fonts
      • Meziantou.Framework.Geo
      • Meziantou.Framework.Geo.Maps
      • Meziantou.Framework.Geo.Maps.Data
      • Meziantou.Framework.Geo.Maps.GeoPackage
      • Meziantou.Framework.Globbing
      • Meziantou.Framework.Hashing
      • Meziantou.Framework.Http
      • Meziantou.Framework.Http.Caching
      • Meziantou.Framework.Http.Caching.InMemory
      • Meziantou.Framework.Http.Caching.Redis
      • Meziantou.Framework.Http.Caching.Sqlite
      • Meziantou.Framework.Http.Recording
      • Meziantou.Framework.Http.ServerSideRequestForgery
      • Meziantou.Framework.HttpArchive
      • Meziantou.Framework.HumanReadable
      • Meziantou.Framework.HumanReadable.Converters
      • Meziantou.Framework.HumanReadable.ValueFormatters
      • Meziantou.Framework.Imaging
      • Meziantou.Framework.Imaging.Barcodes
      • Meziantou.Framework.Imaging.Charts
      • Meziantou.Framework.Imaging.Drawing
      • Meziantou.Framework.Imaging.Formats
      • Meziantou.Framework.Imaging.Metadata
      • Meziantou.Framework.Imaging.Typography
      • Meziantou.Framework.InlineSnapshotTesting
      • Meziantou.Framework.InlineSnapshotTesting.Serialization
      • Meziantou.Framework.JavaScriptEngine
      • Meziantou.Framework.Json
      • Meziantou.Framework.LLMContext
      • Meziantou.Framework.Language
      • Meziantou.Framework.Language.Css
      • Meziantou.Framework.Language.Ini
      • Meziantou.Framework.Language.Json
      • Meziantou.Framework.Language.Regex
      • Meziantou.Framework.Language.Shell
      • Meziantou.Framework.Language.Toml
      • Meziantou.Framework.Language.Xml
      • Meziantou.Framework.Markdown
      • Meziantou.Framework.Markdown.Extensions.Abbreviations
      • Meziantou.Framework.Markdown.Extensions.Alerts
      • Meziantou.Framework.Markdown.Extensions.AutoIdentifiers
      • Meziantou.Framework.Markdown.Extensions.AutoLinks
      • Meziantou.Framework.Markdown.Extensions.Bootstrap
      • Meziantou.Framework.Markdown.Extensions.Citations
      • Meziantou.Framework.Markdown.Extensions.CustomContainers
      • Meziantou.Framework.Markdown.Extensions.DefinitionLists
      • Meziantou.Framework.Markdown.Extensions.Diagrams
      • Meziantou.Framework.Markdown.Extensions.Emoji
      • Meziantou.Framework.Markdown.Extensions.EmphasisExtras
      • Meziantou.Framework.Markdown.Extensions.Figures
      • Meziantou.Framework.Markdown.Extensions.Footers
      • Meziantou.Framework.Markdown.Extensions.Footnotes
      • Meziantou.Framework.Markdown.Extensions.GenericAttributes
      • Meziantou.Framework.Markdown.Extensions.Globalization
      • Meziantou.Framework.Markdown.Extensions.Hardlines
      • Meziantou.Framework.Markdown.Extensions.JiraLinks
      • Meziantou.Framework.Markdown.Extensions.ListExtras
      • Meziantou.Framework.Markdown.Extensions.Mathematics
      • Meziantou.Framework.Markdown.Extensions.MediaLinks
      • Meziantou.Framework.Markdown.Extensions.NonAsciiNoEscape
      • Meziantou.Framework.Markdown.Extensions.PragmaLines
      • Meziantou.Framework.Markdown.Extensions.ReferralLinks
      • Meziantou.Framework.Markdown.Extensions.SmartyPants
      • Meziantou.Framework.Markdown.Extensions.Tables
      • Meziantou.Framework.Markdown.Extensions.TaskLists
      • Meziantou.Framework.Markdown.Extensions.TextRenderer
      • Meziantou.Framework.Markdown.Extensions.Yaml
      • Meziantou.Framework.Markdown.Helpers
      • Meziantou.Framework.Markdown.Parsers
      • Meziantou.Framework.Markdown.Parsers.Inlines
      • Meziantou.Framework.Markdown.Renderers
      • Meziantou.Framework.Markdown.Renderers.Html
      • Meziantou.Framework.Markdown.Renderers.Html.Inlines
      • Meziantou.Framework.Markdown.Renderers.Normalize
      • Meziantou.Framework.Markdown.Renderers.Normalize.Inlines
      • Meziantou.Framework.Markdown.Renderers.Roundtrip
      • Meziantou.Framework.Markdown.Renderers.Roundtrip.Inlines
      • Meziantou.Framework.Markdown.Syntax
      • Meziantou.Framework.Markdown.Syntax.Inlines
      • Meziantou.Framework.MediaTags
      • Meziantou.Framework.NodeJs
      • Meziantou.Framework.Ntp
      • Meziantou.Framework.NuGetPackageValidation
      • Meziantou.Framework.OpenTelemetryCollector
        • OpenTelemetryEndpointRouteBuilderExtensions
        • OpenTelemetryHandler
        • OpenTelemetryHandlerContext
        • OpenTelemetryItemType
        • OpenTelemetryPartialSuccess
        • OpenTelemetryReceiverOptions
        • OpenTelemetrySampler
        • OpenTelemetryServiceCollectionExtensions
        • OpenTelemetryTailBufferOverflowPolicy
        • OpenTelemetryTailSampler
        • OpenTelemetryTailTraceContext
        • OpenTelemetryTraceTailSampling
        • OpenTelemetryTransport
      • Meziantou.Framework.OpenTelemetryCollector.InMemory
      • Meziantou.Framework.Pdf
      • Meziantou.Framework.Pdf.Objects
      • Meziantou.Framework.Pdf.Rendering
      • Meziantou.Framework.Pdf.Signing
      • Meziantou.Framework.PublicApiGenerator
      • Meziantou.Framework.RobotsTxt
      • Meziantou.Framework.Roslyn
      • Meziantou.Framework.Sanitizers
      • Meziantou.Framework.Scheduling
      • Meziantou.Framework.SimpleQueryLanguage
      • Meziantou.Framework.SimpleQueryLanguage.Binding
      • Meziantou.Framework.SimpleQueryLanguage.Ranges
      • Meziantou.Framework.SimpleQueryLanguage.Syntax
      • Meziantou.Framework.SnapshotTesting
      • Meziantou.Framework.SnapshotTesting.Imaging
      • Meziantou.Framework.SnapshotTesting.Pdf
      • Meziantou.Framework.SnapshotTesting.Roslyn
      • Meziantou.Framework.SyntaxHighlighting
      • Meziantou.Framework.TaggedValues
      • Meziantou.Framework.Tds
      • Meziantou.Framework.Tds.Handler
      • Meziantou.Framework.Tds.Hosting
      • Meziantou.Framework.Tds.QueryEngine
      • Meziantou.Framework.Templating
      • Meziantou.Framework.TemporaryContainers
      • Meziantou.Framework.Text
      • Meziantou.Framework.Threading
      • Meziantou.Framework.Threading.Tasks
      • Meziantou.Framework.Toml
      • Meziantou.Framework.Toml.Helpers
      • Meziantou.Framework.Toml.Model
      • Meziantou.Framework.Toml.Parsing
      • Meziantou.Framework.Toml.Serialization
      • Meziantou.Framework.Toml.Syntax
      • Meziantou.Framework.Toml.Text
      • Meziantou.Framework.UndoRedo
      • Meziantou.Framework.Unix.ControlGroups
      • Meziantou.Framework.Versioning
      • Meziantou.Framework.WPF
      • Meziantou.Framework.WebPlatform
      • Meziantou.Framework.WebPlatform.Animations
      • Meziantou.Framework.WebPlatform.Css.Om
      • Meziantou.Framework.WebPlatform.Css.ParserApi
      • Meziantou.Framework.WebPlatform.Css.Selectors
      • Meziantou.Framework.WebPlatform.Css.TypedOm
      • Meziantou.Framework.WebPlatform.Dom
      • Meziantou.Framework.WebPlatform.Dom.FileApi
      • Meziantou.Framework.WebPlatform.Formatting
      • Meziantou.Framework.WebPlatform.Imaging
      • Meziantou.Framework.WebPlatform.JavaScript
      • Meziantou.Framework.WebPlatform.Media
      • Meziantou.Framework.WebPlatform.PdfRendering
      • Meziantou.Framework.WebPlatform.Playwright
      • Meziantou.Framework.WebPlatform.Rendering
      • Meziantou.Framework.WebPlatform.Scripting
      • Meziantou.Framework.WebPlatform.Wasmtime
      • Meziantou.Framework.WebPlatform.WebAssembly
      • Meziantou.Framework.WebPlatform.WebAudio
      • Meziantou.Framework.Win32
      • Meziantou.Framework.Win32.ProjectedFileSystem
      • Meziantou.Framework.Yaml
      • Meziantou.Framework.Yaml.Events
      • Meziantou.Framework.Yaml.Model
      • Meziantou.Framework.Yaml.Schemas
      • Meziantou.Framework.Yaml.Serialization
      • Meziantou.Framework.Yaml.Serialization.Converters
      • Meziantou.Framework.Yaml.Syntax
      • Meziantou.Framework.Yaml.Tokens
      • Meziantou.Xunit
      • OpenTelemetry.Proto.Collector.Logs.V1
      • OpenTelemetry.Proto.Collector.Metrics.V1
      • OpenTelemetry.Proto.Collector.Trace.V1
      • OpenTelemetry.Proto.Common.V1
      • OpenTelemetry.Proto.Logs.V1
      • OpenTelemetry.Proto.Metrics.V1
      • OpenTelemetry.Proto.Resource.V1
      • OpenTelemetry.Proto.Trace.V1
    1. Meziantou.Framework
    2. API reference
    3. Meziantou.Framework.OpenTelemetryCollector

    OpenTelemetryTransport Enum

    Namespace
    Meziantou.Framework.OpenTelemetryCollector
    Assembly
    Meziantou.Framework.OpenTelemetryCollector.dll
    Package
    Meziantou.Framework.OpenTelemetryCollector 3.0.6
    Available in package assets
    net10.0net11.0
    public enum OpenTelemetryTransport

    No documentation is available.

    Fields

    NameValueDescription
    Http0
    Grpc1

    On this page

    • Fields