Vinicius
Vinicius
CC#
Created by BrunORC on 10/27/2022 in #help
❔ X509 Certificate from base64 string
I think I did
using (var ms = new MemoryStream())
{
command.File.CopyTo(ms);
var fileBytes = ms.ToArray();
var certificate = new X509Certificate2(fileBytes, command.Password, X509KeyStorageFlags.MachineKeySet);
}
using (var ms = new MemoryStream())
{
command.File.CopyTo(ms);
var fileBytes = ms.ToArray();
var certificate = new X509Certificate2(fileBytes, command.Password, X509KeyStorageFlags.MachineKeySet);
}
71 replies
CC#
Created by BrunORC on 10/27/2022 in #help
❔ X509 Certificate from base64 string
I still keep looking for something
71 replies
CC#
Created by BrunORC on 10/27/2022 in #help
❔ X509 Certificate from base64 string
I appreciate
71 replies
CC#
Created by BrunORC on 10/27/2022 in #help
❔ X509 Certificate from base64 string
I havent the access from pfx directory file and on google is all about it, retrieve file from path, but I cant do it using C#, its only on frontend and send to my api my first doubt is: what format the pfx should come? FromBase64String | File ... ?
71 replies
CC#
Created by BrunORC on 10/27/2022 in #help
❔ X509 Certificate from base64 string
Im dealing with it rn, need some help
71 replies
CC#
Created by BrunORC on 10/27/2022 in #help
❔ X509 Certificate from base64 string
bro I know its a quiet time ago but are u still there?
71 replies
CC#
Created by Vinicius on 1/6/2023 in #help
✅ Skiarsharp - Bestway to check if image is landscape or portrait mode.
10 replies
CC#
Created by Vinicius on 1/6/2023 in #help
✅ Skiarsharp - Bestway to check if image is landscape or portrait mode.
I still dont know how to get the cordinates how says which mode it is
10 replies
CC#
Created by Vinicius on 1/6/2023 in #help
✅ Skiarsharp - Bestway to check if image is landscape or portrait mode.
its hard to show the bigger picture but
10 replies
CC#
Created by Vinicius on 1/6/2023 in #help
✅ Skiarsharp - Bestway to check if image is landscape or portrait mode.
Im doing radio calculate after that
10 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
thanks
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
I'd prefer but I couldnt
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
namespace Epilefinho.Domain.Repositories
{
public interface ISaleRepository
{

Task<SalesResume> GetAllSalesReportAsync(int idCompany, int? NumberPage, int? Limitpage, DateTime? StartDate, DateTime? EndDate);

}
}
namespace Epilefinho.Domain.Repositories
{
public interface ISaleRepository
{

Task<SalesResume> GetAllSalesReportAsync(int idCompany, int? NumberPage, int? Limitpage, DateTime? StartDate, DateTime? EndDate);

}
}
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
Interface need to be typed as well
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
return new SalesResume(sales, sales.Count());
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
you right
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
23 replies
CC#
Created by Vinicius on 12/13/2022 in #help
❔ rename tuple
public async Task<(List<SalesReportEntity>allSales, int totalSales)> GetAllSalesReportAsync(){
return (allSales: sales, totalSales: sales.Count());
}
public async Task<(List<SalesReportEntity>allSales, int totalSales)> GetAllSalesReportAsync(){
return (allSales: sales, totalSales: sales.Count());
}
wont change :-:
23 replies