commit d7a0c46a15555dc8c3409e3c525c1e618aa0e4f8
parent bba56cb5e63735e5876b6bda0386c26bf92095d0
Author: Minerva_juppiter <94231606+minerva-jupiter@users.noreply.github.com>
Date: Wed, 29 Jun 2022 23:59:24 +0900
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Encrypt.cs b/Encrypt.cs
@@ -25,6 +25,8 @@ namespace Cypher
//質問
string whereDateFile;
string whereKeyFile;
+ string whereEncryptedFilefolder;
+ string whereEncryptedfileName;
string whereEncryptedFile;
/*
@@ -35,7 +37,9 @@ namespace Cypher
*/
Question question = new Question();
- whereEncryptedFile = question.Questions("Where will you create encrypted file?", false);
+ whereEncryptedFilefolder = question.Questions("Where will you create encrypted file? (folder Name)", false);
+ whereEncryptedfileName = question.Questions("What will you create encrypted file name?",false);
+ whereEncryptedFile = whereEncryptedFilefolder + whereEncryptedfileName + ".cypher";
whereDateFile = question.Questions("Where is the file you want to encrypt?", true);
whereKeyFile = question.Questions("Where is keyFile?", true);