## Get Resource Names If you use the following, you can resolve all of the resources currently loaded by the current assembly: ```csharp string[] resourceNames = GetType().Assembly.GetManifestResourceNames(); ``` ## Load Embedded Resource Actually loading the `Embedded Resource` looks like this: ```csharp using (Stream stream = assembly.GetManifestResourceStream( quot;ShredVaultKioskTests.API.{filename}.txt")) { using (StreamReader reader = new StreamReader(stream)) { return reader.ReadToEnd(); } } ``` Make sure the file is where you expect it to be, otherwise use `GetManifestResourceNames()` to figure it out in reverse. In this example, the test file that is being loaded is in the following directory of the project: ![[shred_vault_test_file.png]] So finally, the resource is at: `ShredVaultKioskTests > API > [File]`. #c_sharp