This repository has been archived on 2025-09-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Password-Manager-Legacy/Password Manager/Profile.cs

21 lines
590 B
C#
Raw Normal View History

using System;
namespace Password_Manager
{
public delegate void PasswordStoreChange();
2023-03-24 11:14:49 +01:00
sealed class Profile
{
public string Name { get; } //the name of the password store profile ("personal", "work", or similar)
public string Path { get; } //path of the folder containing the password store
2023-03-24 12:39:50 +01:00
//public event PasswordStoreChange Change; //runs if a new password is added, or if one is removed
2023-03-24 12:01:08 +01:00
2023-03-24 12:39:50 +01:00
public Profile(string name, string path)
2023-03-24 12:01:08 +01:00
{
Name = name;
Path = path;
2023-03-24 12:39:50 +01:00
//Change = change;
2023-03-24 12:01:08 +01:00
}
}
}