V
V
Vlad Osadchyi2017-11-17 18:53:31
C++ / C#
Vlad Osadchyi, 2017-11-17 18:53:31

How to make the generated xml file hidden?

There is a Windows Forms application that creates an xml file, how can I make this file have the "Hidden" attribute assigned?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Osadchyi, 2017-11-17
@VladOsadchyi

If anyone is interested, here is the solution:

File.SetAttributes("имя_файла.тип_файла", FileAttributes.Hidden);

C
cicatrix, 2017-11-17
@cicatrix

Example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question