HttpSessionState.LCID Property

Definition

Gets or sets the locale identifier (LCID) of the current session.

C#
public int LCID { get; set; }

Property Value

A CultureInfo instance that specifies the culture of the current session.

Remarks

The LCID property is provided for compatibility with earlier versions of ASP only. If you do not need to maintain backward compatibility with ASP pages, use the LCID property instead.

ASP.NET does not store the locale identifier in session state. The LCID property accesses the LCID property to get and set the identifier.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also