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
2023-03-24 12:01:08 +01:00

22 lines
652 B
C#

using System;
namespace Password_Manager
{
public delegate void PasswordStoreChange();
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
private Password[] Passwords;
public event PasswordStoreChange Change; //runs if a new password is added, or if one is removed
public Profile(string name, string path, PasswordStoreChange change)
{
Name = name;
Path = path;
Change = change;
}
}
}