mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
b432d5aa38
Review classes and structs Added constructor to structs where all fields were required Made some classes sealed, mostly those that are passed into the framework where subclassing and adding methods/properties wouldn't make sense
26 lines
829 B
C#
26 lines
829 B
C#
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
using System;
|
|
|
|
namespace CefSharp
|
|
{
|
|
/// <summary>
|
|
/// Class used to Represent a cookie the built in .Net Cookie
|
|
/// class isn't used as some of it's properties have internal setters
|
|
/// </summary>
|
|
public sealed class Cookie
|
|
{
|
|
public string Name { get; set; }
|
|
public string Value { get; set; }
|
|
public string Domain { get; set; }
|
|
public string Path { get; set; }
|
|
public bool Secure { get; set; }
|
|
public bool HttpOnly { get; set; }
|
|
public DateTime? Expires { get; set; }
|
|
public DateTime Creation { get; set; }
|
|
public DateTime LastAccess { get; set; }
|
|
}
|
|
}
|